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