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

Unified Diff: net/socket/ssl_client_socket_impl.h

Issue 2414883005: TEMP DO NOT LAND (Closed)
Patch Set: tmp Created 4 years, 1 month 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 | « net/socket/socket_bio_adapter.cc ('k') | net/socket/ssl_client_socket_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/ssl_client_socket_impl.h
diff --git a/net/socket/ssl_client_socket_impl.h b/net/socket/ssl_client_socket_impl.h
index e63a1b6f1a7b37ede6f7926eca9e85e95c3d5284..200d6147864e6b3da475d054ba1411f46a5b3b0f 100644
--- a/net/socket/ssl_client_socket_impl.h
+++ b/net/socket/ssl_client_socket_impl.h
@@ -33,9 +33,14 @@
#include "third_party/boringssl/src/include/openssl/base.h"
#include "third_party/boringssl/src/include/openssl/ssl.h"
+#include "base/trace_event/memory_dump_provider.h"
+
namespace base {
class FilePath;
class SequencedTaskRunner;
+namespace trace_event {
+class MemoryAllocatorDump;
+}
}
namespace crypto {
@@ -113,7 +118,11 @@ class SSLClientSocketImpl : public SSLClientSocket,
void ClearConnectionAttempts() override {}
void AddConnectionAttempts(const ConnectionAttempts& attempts) override {}
int64_t GetTotalReceivedBytes() const override;
+ void PopulateAllocatorDump(
+ base::trace_event::MemoryAllocatorDump* dump) const override;
+ static void PopulateSSLClientSessionAllocatorDump(
+ base::trace_event::MemoryAllocatorDump* dump);
// Socket implementation.
int Read(IOBuffer* buf,
int buf_len,
@@ -351,6 +360,7 @@ class SSLClientSocketImpl : public SSLClientSocket,
bool pkp_bypassed_;
NetLogWithSource net_log_;
+
base::WeakPtrFactory<SSLClientSocketImpl> weak_factory_;
};
« no previous file with comments | « net/socket/socket_bio_adapter.cc ('k') | net/socket/ssl_client_socket_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698