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

Unified Diff: chrome/browser/debugger/devtools_remote_service.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_service.h
diff --git a/chrome/browser/debugger/devtools_remote_service.h b/chrome/browser/debugger/devtools_remote_service.h
deleted file mode 100644
index 7ce914c426eaee4b5abfa191128bb3dcb18c3654..0000000000000000000000000000000000000000
--- a/chrome/browser/debugger/devtools_remote_service.h
+++ /dev/null
@@ -1,50 +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_SERVICE_H_
-#define CHROME_BROWSER_DEBUGGER_DEVTOOLS_REMOTE_SERVICE_H_
-#pragma once
-
-#include "base/basictypes.h"
-#include "chrome/browser/debugger/devtools_remote.h"
-
-class DevToolsRemoteMessage;
-class DevToolsProtocolHandler;
-
-namespace base {
-class DictionaryValue;
-}
-
-// Contains constants for DevToolsRemoteService tool protocol commands.
-struct DevToolsRemoteServiceCommand {
- static const char kPing[];
- static const char kVersion[];
- static const char kListTabs[];
-};
-
-// Handles Chrome remote debugger protocol service commands.
-class DevToolsRemoteService : public DevToolsRemoteListener {
- public:
- explicit DevToolsRemoteService(DevToolsProtocolHandler* delegate);
-
- // DevToolsRemoteListener interface
- virtual void HandleMessage(const DevToolsRemoteMessage& message) OVERRIDE;
- virtual void OnConnectionLost() OVERRIDE {}
-
- static const char kToolName[];
-
- private:
- // Operation result returned in the "result" field.
- struct Result {
- static const int kOk = 0;
- static const int kUnknownCommand = 1;
- };
- virtual ~DevToolsRemoteService();
- void ProcessJson(base::DictionaryValue* json,
- const DevToolsRemoteMessage& message);
- DevToolsProtocolHandler* delegate_;
- DISALLOW_COPY_AND_ASSIGN(DevToolsRemoteService);
-};
-
-#endif // CHROME_BROWSER_DEBUGGER_DEVTOOLS_REMOTE_SERVICE_H_
« no previous file with comments | « chrome/browser/debugger/devtools_remote_message_unittest.cc ('k') | chrome/browser/debugger/devtools_remote_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698