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