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.
5 #ifndef CHROME_BROWSER_DEVTOOLS_BROWSER_LIST_TABCONTENTS_PROVIDER_H_
6 #define CHROME_BROWSER_DEVTOOLS_BROWSER_LIST_TABCONTENTS_PROVIDER_H_
8 #include "chrome/browser/ui/host_desktop.h"
9 #include "content/public/browser/devtools_http_handler_delegate.h"
11 class BrowserListTabContentsProvider
12 : public content::DevToolsHttpHandlerDelegate
{
14 explicit BrowserListTabContentsProvider(
15 chrome::HostDesktopType host_desktop_type
);
16 ~BrowserListTabContentsProvider() override
;
18 // DevToolsHttpHandlerDelegate implementation.
19 std::string
GetDiscoveryPageHTML() override
;
20 bool BundlesFrontendResources() override
;
21 base::FilePath
GetDebugFrontendDir() override
;
24 chrome::HostDesktopType host_desktop_type_
;
25 DISALLOW_COPY_AND_ASSIGN(BrowserListTabContentsProvider
);
28 #endif // CHROME_BROWSER_DEVTOOLS_BROWSER_LIST_TABCONTENTS_PROVIDER_H_