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

Unified Diff: chrome/browser/debugger/devtools_remote.h

Issue 2868036: Brushed up listen socket: (Closed)
Patch Set: Lint. Created 10 years, 5 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: chrome/browser/debugger/devtools_remote.h
diff --git a/chrome/browser/debugger/devtools_remote.h b/chrome/browser/debugger/devtools_remote.h
index 713df3d3d5853038dfabe0a4c2b3516b7457ac3e..a0edc6dd384e3f8dc26cb66af23e486c46e50a56 100644
--- a/chrome/browser/debugger/devtools_remote.h
+++ b/chrome/browser/debugger/devtools_remote.h
@@ -9,6 +9,7 @@
#include "base/ref_counted.h"
class DevToolsRemoteMessage;
+class ListenSocket;
// This interface should be implemented by a class that wants to handle
// DevToolsRemoteMessages dispatched by some entity. It must extend
@@ -20,6 +21,7 @@ class DevToolsRemoteListener
// This method is invoked on the UI thread whenever the debugger connection
// has been lost.
virtual void OnConnectionLost() = 0;
+ virtual void OnAcceptConnection(ListenSocket* connection) {}
protected:
friend class base::RefCountedThreadSafe<DevToolsRemoteListener>;
« no previous file with comments | « chrome/browser/debugger/devtools_protocol_handler.cc ('k') | chrome/browser/debugger/devtools_remote_listen_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698