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

Unified Diff: runtime/bin/secure_socket_boringssl.h

Issue 2542663002: Adjust memory pressure from SSL (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « no previous file | runtime/bin/secure_socket_boringssl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/secure_socket_boringssl.h
diff --git a/runtime/bin/secure_socket_boringssl.h b/runtime/bin/secure_socket_boringssl.h
index a24194ab5b23f4ab2fa4fbbde90a5bdfaf59ef70..974a57ef8fe3c85f5c0eec6eee9ebc2a668eaaa3 100644
--- a/runtime/bin/secure_socket_boringssl.h
+++ b/runtime/bin/secure_socket_boringssl.h
@@ -35,6 +35,8 @@ extern unsigned int root_certificates_pem_length;
class SSLContext {
public:
+ static const intptr_t kApproximateSize;
+
explicit SSLContext(SSL_CTX* context)
: context_(context), alpn_protocol_string_(NULL) {}
@@ -81,6 +83,8 @@ class SSLFilter : public ReferenceCounted<SSLFilter> {
kFirstEncrypted = kReadEncrypted
};
+ static const intptr_t kApproximateSize;
+
SSLFilter()
: callback_error(NULL),
ssl_(NULL),
@@ -133,6 +137,7 @@ class SSLFilter : public ReferenceCounted<SSLFilter> {
BIO* socket_side_;
private:
+ static const intptr_t kInternalBIOSize;
static bool library_initialized_;
static Mutex* mutex_; // To protect library initialization.
« no previous file with comments | « no previous file | runtime/bin/secure_socket_boringssl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698