#ifndef NET_SSL_SSL_CONNECTION_STATUS_FLAGS_H_
#define NET_SSL_SSL_CONNECTION_STATUS_FLAGS_H_
#include <stdint.h>
#include "base/check_op.h"
namespace net {
enum { … };
enum SSLVersion { … };
static_assert …;
inline uint16_t SSLConnectionStatusToCipherSuite(int connection_status) { … }
inline SSLVersion SSLConnectionStatusToVersion(int connection_status) { … }
inline void SSLConnectionStatusSetCipherSuite(uint16_t cipher_suite,
int* connection_status) { … }
inline void SSLConnectionStatusSetVersion(int version, int* connection_status) { … }
}
#endif