| OLD | NEW | 
|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Defines the Chrome Extensions Debugger API functions for attaching debugger | 5 // Defines the Chrome Extensions Debugger API functions for attaching debugger | 
| 6 // to the page. | 6 // to the page. | 
| 7 | 7 | 
| 8 #ifndef CHROME_BROWSER_EXTENSIONS_API_DEBUGGER_DEBUGGER_API_H_ | 8 #ifndef CHROME_BROWSER_EXTENSIONS_API_DEBUGGER_DEBUGGER_API_H_ | 
| 9 #define CHROME_BROWSER_EXTENSIONS_API_DEBUGGER_DEBUGGER_API_H_ | 9 #define CHROME_BROWSER_EXTENSIONS_API_DEBUGGER_DEBUGGER_API_H_ | 
| 10 | 10 | 
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 74   SendCommandDebuggerFunction(); | 74   SendCommandDebuggerFunction(); | 
| 75   void SendResponseBody(base::DictionaryValue* result); | 75   void SendResponseBody(base::DictionaryValue* result); | 
| 76 | 76 | 
| 77  protected: | 77  protected: | 
| 78   virtual ~SendCommandDebuggerFunction(); | 78   virtual ~SendCommandDebuggerFunction(); | 
| 79 | 79 | 
| 80   // ExtensionFunction: | 80   // ExtensionFunction: | 
| 81   virtual bool RunImpl() OVERRIDE; | 81   virtual bool RunImpl() OVERRIDE; | 
| 82 }; | 82 }; | 
| 83 | 83 | 
| 84 class DebuggerApi { |  | 
| 85  public: |  | 
| 86   // Marks ExtensionDevToolsClientHost as replaced with the bundled devtools |  | 
| 87   // so that we could report proper disconnect reason. |  | 
| 88   static void MarkDevToolsClientHostAsReplaced( |  | 
| 89       content::DevToolsClientHost* client_host); |  | 
| 90 }; |  | 
| 91 |  | 
| 92 #endif  // CHROME_BROWSER_EXTENSIONS_API_DEBUGGER_DEBUGGER_API_H_ | 84 #endif  // CHROME_BROWSER_EXTENSIONS_API_DEBUGGER_DEBUGGER_API_H_ | 
| OLD | NEW | 
|---|