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

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

Issue 6800009: Attn: Mike Belshe Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 9 years, 8 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
===================================================================
--- chrome/browser/debugger/devtools_remote.h (revision 80449)
+++ chrome/browser/debugger/devtools_remote.h (working copy)
@@ -6,6 +6,8 @@
#define CHROME_BROWSER_DEBUGGER_DEVTOOLS_REMOTE_H_
#pragma once
+#include <netinet/in.h>
+
#include "base/basictypes.h"
#include "base/memory/ref_counted.h"
@@ -23,6 +25,7 @@
// has been lost.
virtual void OnConnectionLost() = 0;
virtual void OnAcceptConnection(ListenSocket* connection) {}
+ virtual int protocol() {return IPPROTO_TCP; }
Mike Belshe 2011/04/06 18:32:53 nit: in pure virtual interface classes, we try to
protected:
friend class base::RefCountedThreadSafe<DevToolsRemoteListener>;

Powered by Google App Engine
This is Rietveld 408576698