Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(487)

Unified Diff: net/socket/ssl_session_cache_openssl.cc

Issue 266243004: Clang format slam. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/socket/ssl_session_cache_openssl.cc
diff --git a/net/socket/ssl_session_cache_openssl.cc b/net/socket/ssl_session_cache_openssl.cc
index d16bb8d6325ec6b105da7219d4e9ea9e5f6f4828..926d3357974e2eb9befd76851981f5d96ef581ad 100644
--- a/net/socket/ssl_session_cache_openssl.cc
+++ b/net/socket/ssl_session_cache_openssl.cc
@@ -22,7 +22,7 @@ namespace {
// A helper class to lazily create a new EX_DATA index to map SSL_CTX handles
// to their corresponding SSLSessionCacheOpenSSLImpl object.
class SSLContextExIndex {
-public:
+ public:
SSLContextExIndex() {
context_index_ = SSL_CTX_get_ex_new_index(0, NULL, NULL, NULL, NULL);
DCHECK_NE(-1, context_index_);
@@ -478,9 +478,13 @@ class SSLSessionCacheOpenSSLImpl {
size_t expiration_check_;
};
-SSLSessionCacheOpenSSL::~SSLSessionCacheOpenSSL() { delete impl_; }
+SSLSessionCacheOpenSSL::~SSLSessionCacheOpenSSL() {
+ delete impl_;
+}
-size_t SSLSessionCacheOpenSSL::size() const { return impl_->size(); }
+size_t SSLSessionCacheOpenSSL::size() const {
+ return impl_->size();
+}
void SSLSessionCacheOpenSSL::Reset(SSL_CTX* ctx, const Config& config) {
if (impl_)
@@ -503,6 +507,8 @@ void SSLSessionCacheOpenSSL::MarkSSLSessionAsGood(SSL* ssl) {
return impl_->MarkSSLSessionAsGood(ssl);
}
-void SSLSessionCacheOpenSSL::Flush() { impl_->Flush(); }
+void SSLSessionCacheOpenSSL::Flush() {
+ impl_->Flush();
+}
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698