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 |
| 10 #include "base/basictypes.h" |
| 11 #include "base/compiler_specific.h" |
| 12 #include "content/public/browser/devtools_http_handler_delegate.h" |
10 | 13 |
11 class BrowserListTabContentsProvider | 14 class BrowserListTabContentsProvider |
12 : public DevToolsHttpProtocolHandler::Delegate { | 15 : public content::DevToolsHttpHandlerDelegate { |
13 public: | 16 public: |
14 BrowserListTabContentsProvider() {} | 17 BrowserListTabContentsProvider() {} |
15 virtual ~BrowserListTabContentsProvider() {} | 18 virtual ~BrowserListTabContentsProvider() {} |
16 | 19 |
17 // DevToolsHttpProtocolHandler::Delegate overrides. | 20 // DevToolsHttpProtocolHandler::Delegate overrides. |
18 virtual DevToolsHttpProtocolHandler::InspectableTabs | 21 virtual DevToolsHttpHandlerDelegate::InspectableTabs |
19 GetInspectableTabs() OVERRIDE; | 22 GetInspectableTabs() OVERRIDE; |
20 virtual std::string GetDiscoveryPageHTML() OVERRIDE; | 23 virtual std::string GetDiscoveryPageHTML() OVERRIDE; |
21 virtual net::URLRequestContext* GetURLRequestContext() OVERRIDE; | 24 virtual net::URLRequestContext* GetURLRequestContext() OVERRIDE; |
| 25 |
22 private: | 26 private: |
23 DISALLOW_COPY_AND_ASSIGN(BrowserListTabContentsProvider); | 27 DISALLOW_COPY_AND_ASSIGN(BrowserListTabContentsProvider); |
24 }; | 28 }; |
25 | 29 |
26 #endif // CHROME_BROWSER_DEBUGGER_BROWSER_LIST_TABCONTENTS_PROVIDER_H_ | 30 #endif // CHROME_BROWSER_DEBUGGER_BROWSER_LIST_TABCONTENTS_PROVIDER_H_ |
OLD | NEW |