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

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

Issue 8635005: DevTools: remove support for legacy remote debugger (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed tests compilation Created 9 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
Index: chrome/browser/debugger/devtools_remote.h
diff --git a/chrome/browser/debugger/devtools_remote.h b/chrome/browser/debugger/devtools_remote.h
deleted file mode 100644
index 78b1d13852ae50e46c6f197797129694f44a748d..0000000000000000000000000000000000000000
--- a/chrome/browser/debugger/devtools_remote.h
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_DEBUGGER_DEVTOOLS_REMOTE_H_
-#define CHROME_BROWSER_DEBUGGER_DEVTOOLS_REMOTE_H_
-#pragma once
-
-#include "base/basictypes.h"
-#include "base/memory/ref_counted.h"
-
-class DevToolsRemoteMessage;
-
-namespace net {
-class ListenSocket;
-}
-
-// This interface should be implemented by a class that wants to handle
-// DevToolsRemoteMessages dispatched by some entity. It must extend
-class DevToolsRemoteListener
- : public base::RefCountedThreadSafe<DevToolsRemoteListener> {
- public:
- DevToolsRemoteListener() {}
- virtual void HandleMessage(const DevToolsRemoteMessage& message) = 0;
- // This method is invoked on the UI thread whenever the debugger connection
- // has been lost.
- virtual void OnConnectionLost() = 0;
- virtual void OnAcceptConnection(net::ListenSocket* connection) {}
-
- protected:
- friend class base::RefCountedThreadSafe<DevToolsRemoteListener>;
-
- virtual ~DevToolsRemoteListener() {}
-
- private:
- DISALLOW_COPY_AND_ASSIGN(DevToolsRemoteListener);
-};
-
-// Interface exposed by DevToolsProtocolHandler to receive reply messages
-// from registered tools.
-class OutboundSocketDelegate {
- public:
- virtual ~OutboundSocketDelegate() {}
- virtual void Send(const DevToolsRemoteMessage& message) = 0;
-};
-
-#endif // CHROME_BROWSER_DEBUGGER_DEVTOOLS_REMOTE_H_
« 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