| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_BROWSER_LIST_TABCONTENTS_PROVIDER_H_ | 5 #ifndef CHROME_BROWSER_DEBUGGER_BROWSER_LIST_TABCONTENTS_PROVIDER_H_ |
| 6 #define CHROME_BROWSER_DEBUGGER_BROWSER_LIST_TABCONTENTS_PROVIDER_H_ | 6 #define CHROME_BROWSER_DEBUGGER_BROWSER_LIST_TABCONTENTS_PROVIDER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include "content/browser/debugger/devtools_http_protocol_handler.h" | 9 #include "content/browser/debugger/devtools_http_protocol_handler.h" |
| 10 | 10 |
| 11 class BrowserListTabContentsProvider | 11 class BrowserListTabContentsProvider |
| 12 : public DevToolsHttpProtocolHandler::Delegate { | 12 : public DevToolsHttpProtocolHandler::Delegate { |
| 13 public: | 13 public: |
| 14 BrowserListTabContentsProvider() {} | 14 BrowserListTabContentsProvider() {} |
| 15 virtual ~BrowserListTabContentsProvider() {} | 15 virtual ~BrowserListTabContentsProvider() {} |
| 16 | 16 |
| 17 // DevToolsHttpProtocolHandler::Delegate overrides. | 17 // DevToolsHttpProtocolHandler::Delegate overrides. |
| 18 virtual DevToolsHttpProtocolHandler::InspectableTabs GetInspectableTabs(); | 18 virtual DevToolsHttpProtocolHandler::InspectableTabs |
| 19 virtual std::string GetDiscoveryPageHTML(); | 19 GetInspectableTabs() OVERRIDE; |
| 20 virtual net::URLRequestContext* GetURLRequestContext(); | 20 virtual std::string GetDiscoveryPageHTML() OVERRIDE; |
| 21 virtual net::URLRequestContext* GetURLRequestContext() OVERRIDE; |
| 21 private: | 22 private: |
| 22 DISALLOW_COPY_AND_ASSIGN(BrowserListTabContentsProvider); | 23 DISALLOW_COPY_AND_ASSIGN(BrowserListTabContentsProvider); |
| 23 }; | 24 }; |
| 24 | 25 |
| 25 #endif // CHROME_BROWSER_DEBUGGER_BROWSER_LIST_TABCONTENTS_PROVIDER_H_ | 26 #endif // CHROME_BROWSER_DEBUGGER_BROWSER_LIST_TABCONTENTS_PROVIDER_H_ |
| OLD | NEW |