Add more checks to investigate SupervisedUserPrefStore crash at startup.
[chromium-blink-merge.git] / chrome / browser / devtools / browser_list_tabcontents_provider.h
blob9ec2a7d0d5d0b8db2f5c21fd44a6db5ac3397b41
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 {
13 public:
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;
23 private:
24 chrome::HostDesktopType host_desktop_type_;
25 DISALLOW_COPY_AND_ASSIGN(BrowserListTabContentsProvider);
28 #endif // CHROME_BROWSER_DEVTOOLS_BROWSER_LIST_TABCONTENTS_PROVIDER_H_