| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_DEBUGGER_BROWSER_LIST_TABCONTENTS_PROVIDER_H_ | |
| 6 #define CHROME_BROWSER_DEBUGGER_BROWSER_LIST_TABCONTENTS_PROVIDER_H_ | |
| 7 | |
| 8 #include <set> | |
| 9 #include <string> | |
| 10 | |
| 11 #include "base/basictypes.h" | |
| 12 #include "base/compiler_specific.h" | |
| 13 #include "content/public/browser/devtools_http_handler_delegate.h" | |
| 14 | |
| 15 class Profile; | |
| 16 | |
| 17 class BrowserListTabContentsProvider | |
| 18 : public content::DevToolsHttpHandlerDelegate { | |
| 19 public: | |
| 20 explicit BrowserListTabContentsProvider(Profile* profile); | |
| 21 virtual ~BrowserListTabContentsProvider(); | |
| 22 | |
| 23 // DevToolsHttpProtocolHandler::Delegate overrides. | |
| 24 virtual std::string GetDiscoveryPageHTML() OVERRIDE; | |
| 25 virtual bool BundlesFrontendResources() OVERRIDE; | |
| 26 virtual FilePath GetDebugFrontendDir() OVERRIDE; | |
| 27 virtual std::string GetPageThumbnailData(const GURL& url) OVERRIDE; | |
| 28 virtual content::RenderViewHost* CreateNewTarget() OVERRIDE; | |
| 29 | |
| 30 private: | |
| 31 Profile* profile_; | |
| 32 DISALLOW_COPY_AND_ASSIGN(BrowserListTabContentsProvider); | |
| 33 }; | |
| 34 | |
| 35 #endif // CHROME_BROWSER_DEBUGGER_BROWSER_LIST_TABCONTENTS_PROVIDER_H_ | |
| OLD | NEW |