1 // Copyright 2014 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 CHROMECAST_BROWSER_DEVTOOLS_CAST_DEV_TOOLS_DELEGATE_H_
6 #define CHROMECAST_BROWSER_DEVTOOLS_CAST_DEV_TOOLS_DELEGATE_H_
8 #include "components/devtools_http_handler/devtools_http_handler_delegate.h"
10 namespace chromecast
{
13 class CastDevToolsDelegate
:
14 public devtools_http_handler::DevToolsHttpHandlerDelegate
{
16 CastDevToolsDelegate();
17 ~CastDevToolsDelegate() override
;
19 // devtools_http_handler::DevToolsHttpHandlerDelegate implementation.
20 std::string
GetDiscoveryPageHTML() override
;
21 std::string
GetFrontendResource(const std::string
& path
) override
;
22 std::string
GetPageThumbnailData(const GURL
& url
) override
;
25 DISALLOW_COPY_AND_ASSIGN(CastDevToolsDelegate
);
29 } // namespace chromecast
31 #endif // CHROMECAST_BROWSER_DEVTOOLS_CAST_DEV_TOOLS_DELEGATE_H_