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

Unified Diff: net/socket/socket_bio_adapter.h

Issue 2541093003: Instrument SSL sockets using MemoryDumpProvider (Closed)
Patch Set: Fix flaky test 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 | « net/socket/mock_client_socket_pool_manager.cc ('k') | net/socket/socket_bio_adapter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/socket_bio_adapter.h
diff --git a/net/socket/socket_bio_adapter.h b/net/socket/socket_bio_adapter.h
index d718721683aaa3f8e21daa86baf7b2730b8fc27f..235917a0891e94dbd9c0c278ea0ef879455ad2c7 100644
--- a/net/socket/socket_bio_adapter.h
+++ b/net/socket/socket_bio_adapter.h
@@ -78,6 +78,9 @@ class NET_EXPORT_PRIVATE SocketBIOAdapter {
// but not yet consumed by the BIO.
bool HasPendingReadData();
+ // Returns the allocation size estimate in bytes.
+ size_t GetAllocationSize() const;
+
private:
int BIORead(char* out, int len);
void HandleSocketReadResult(int result);
« no previous file with comments | « net/socket/mock_client_socket_pool_manager.cc ('k') | net/socket/socket_bio_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698