| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 // This file declares the DebuggerRemoteServiceCommand struct and the | 5 // This file declares the DebuggerRemoteServiceCommand struct and the |
| 6 // DebuggerRemoteService class which handles commands directed to the | 6 // DebuggerRemoteService class which handles commands directed to the |
| 7 // "V8Debugger" tool. | 7 // "V8Debugger" tool. |
| 8 #ifndef CHROME_BROWSER_DEBUGGER_DEBUGGER_REMOTE_SERVICE_H_ | 8 #ifndef CHROME_BROWSER_DEBUGGER_DEBUGGER_REMOTE_SERVICE_H_ |
| 9 #define CHROME_BROWSER_DEBUGGER_DEBUGGER_REMOTE_SERVICE_H_ | 9 #define CHROME_BROWSER_DEBUGGER_DEBUGGER_REMOTE_SERVICE_H_ |
| 10 #pragma once | 10 #pragma once |
| 11 | 11 |
| 12 #include <string> | 12 #include <string> |
| 13 | 13 |
| 14 #include "base/basictypes.h" | 14 #include "base/basictypes.h" |
| 15 #include "chrome/browser/debugger/devtools_remote.h" | 15 #include "content/browser/debugger/devtools_remote.h" |
| 16 | 16 |
| 17 class DevToolsProtocolHandler; | 17 class DevToolsProtocolHandler; |
| 18 class DevToolsRemoteMessage; | 18 class DevToolsRemoteMessage; |
| 19 class DictionaryValue; | 19 class DictionaryValue; |
| 20 class Value; | 20 class Value; |
| 21 class TabContents; | 21 class TabContents; |
| 22 | 22 |
| 23 // Contains constants for DebuggerRemoteService tool protocol commands | 23 // Contains constants for DebuggerRemoteService tool protocol commands |
| 24 // (V8-related only). | 24 // (V8-related only). |
| 25 struct DebuggerRemoteServiceCommand { | 25 struct DebuggerRemoteServiceCommand { |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 bool DispatchEvaluateJavascript(int tab_uid, | 115 bool DispatchEvaluateJavascript(int tab_uid, |
| 116 DictionaryValue* content, | 116 DictionaryValue* content, |
| 117 DictionaryValue* response); | 117 DictionaryValue* response); |
| 118 | 118 |
| 119 // The delegate is used to get an InspectableTabProxy instance. | 119 // The delegate is used to get an InspectableTabProxy instance. |
| 120 DevToolsProtocolHandler* delegate_; | 120 DevToolsProtocolHandler* delegate_; |
| 121 DISALLOW_COPY_AND_ASSIGN(DebuggerRemoteService); | 121 DISALLOW_COPY_AND_ASSIGN(DebuggerRemoteService); |
| 122 }; | 122 }; |
| 123 | 123 |
| 124 #endif // CHROME_BROWSER_DEBUGGER_DEBUGGER_REMOTE_SERVICE_H_ | 124 #endif // CHROME_BROWSER_DEBUGGER_DEBUGGER_REMOTE_SERVICE_H_ |
| OLD | NEW |