Update UI for WebStore bundle installs.
[chromium-blink-merge.git] / components / devtools_http_handler / devtools_http_handler_delegate.h
blob83235aeda1af6196d625cc484e91886a329eb003
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 COMPONENTS_DEVTOOLS_HTTP_HANDLER_DEVTOOLS_HTTP_HANDLER_DELEGATE_H_
6 #define COMPONENTS_DEVTOOLS_HTTP_HANDLER_DEVTOOLS_HTTP_HANDLER_DELEGATE_H_
8 #include <string>
10 #include "base/files/file_path.h"
12 namespace devtools_http_handler {
14 class DevToolsHttpHandlerDelegate {
15 public:
16 virtual ~DevToolsHttpHandlerDelegate() {}
18 // Should return discovery page HTML that should list available tabs
19 // and provide attach links.
20 virtual std::string GetDiscoveryPageHTML() = 0;
22 // Returns frontend resource data by |path|. Only used if
23 // |BundlesFrontendResources| returns |true|.
24 virtual std::string GetFrontendResource(const std::string& path) = 0;
27 } // namespace devtools_http_handler
29 #endif // COMPONENTS_DEVTOOLS_HTTP_HANDLER_DEVTOOLS_HTTP_HANDLER_DELEGATE_H_