| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_DEBUGGER_DEVTOOLS_REMOTE_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_DEBUGGER_DEVTOOLS_REMOTE_SERVICE_H_ |
| 6 #define CHROME_BROWSER_DEBUGGER_DEVTOOLS_REMOTE_SERVICE_H_ | 6 #define CHROME_BROWSER_DEBUGGER_DEVTOOLS_REMOTE_SERVICE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "chrome/browser/debugger/devtools_remote.h" | 10 #include "content/browser/debugger/devtools_remote.h" |
| 11 | 11 |
| 12 class DevToolsRemoteMessage; | 12 class DevToolsRemoteMessage; |
| 13 class DevToolsProtocolHandler; | 13 class DevToolsProtocolHandler; |
| 14 class DictionaryValue; | 14 class DictionaryValue; |
| 15 class Value; | 15 class Value; |
| 16 | 16 |
| 17 // Contains constants for DevToolsRemoteService tool protocol commands. | 17 // Contains constants for DevToolsRemoteService tool protocol commands. |
| 18 struct DevToolsRemoteServiceCommand { | 18 struct DevToolsRemoteServiceCommand { |
| 19 static const char kPing[]; | 19 static const char kPing[]; |
| 20 static const char kVersion[]; | 20 static const char kVersion[]; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 38 static const int kOk = 0; | 38 static const int kOk = 0; |
| 39 static const int kUnknownCommand = 1; | 39 static const int kUnknownCommand = 1; |
| 40 }; | 40 }; |
| 41 virtual ~DevToolsRemoteService(); | 41 virtual ~DevToolsRemoteService(); |
| 42 void ProcessJson(DictionaryValue* json, const DevToolsRemoteMessage& message); | 42 void ProcessJson(DictionaryValue* json, const DevToolsRemoteMessage& message); |
| 43 DevToolsProtocolHandler* delegate_; | 43 DevToolsProtocolHandler* delegate_; |
| 44 DISALLOW_COPY_AND_ASSIGN(DevToolsRemoteService); | 44 DISALLOW_COPY_AND_ASSIGN(DevToolsRemoteService); |
| 45 }; | 45 }; |
| 46 | 46 |
| 47 #endif // CHROME_BROWSER_DEBUGGER_DEVTOOLS_REMOTE_SERVICE_H_ | 47 #endif // CHROME_BROWSER_DEBUGGER_DEVTOOLS_REMOTE_SERVICE_H_ |
| OLD | NEW |