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

Unified Diff: net/socket/stream_listen_socket.h

Issue 319593013: Added unit test for DevTools' ephemeral port support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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
« no previous file with comments | « content/browser/devtools/devtools_http_handler_unittest.cc ('k') | net/socket/stream_listen_socket.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/stream_listen_socket.h
diff --git a/net/socket/stream_listen_socket.h b/net/socket/stream_listen_socket.h
index 90b54500ace17f2f28631f3fa8449e644564f298..60f282e5efc80950440e34ac383584617a2e71c8 100644
--- a/net/socket/stream_listen_socket.h
+++ b/net/socket/stream_listen_socket.h
@@ -127,6 +127,9 @@ class NET_EXPORT StreamListenSocket
void PauseReads();
void ResumeReads();
+ // For testing use only!
+ virtual int GetLocalAddressImpl(IPEndPoint* address);
jar (doing other things) 2014/06/09 23:13:40 Should this be in the protected section? nit: con
Ken Russell (switch to Gerrit) 2014/06/09 23:32:12 Thanks for catching that. I don't know why it comp
+
const SocketDescriptor socket_;
bool reads_paused_;
bool has_pending_reads_;
« no previous file with comments | « content/browser/devtools/devtools_http_handler_unittest.cc ('k') | net/socket/stream_listen_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698