blob: 2e009956e8699ed42dfe7581a7f961eb560e9131 [file] [log] [blame]
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROMECAST_BROWSER_DEVTOOLS_CAST_DEV_TOOLS_DELEGATE_H_
#define CHROMECAST_BROWSER_DEVTOOLS_CAST_DEV_TOOLS_DELEGATE_H_
#include "components/devtools_http_handler/devtools_http_handler_delegate.h"
namespace chromecast {
namespace shell {
class CastDevToolsDelegate :
public devtools_http_handler::DevToolsHttpHandlerDelegate {
public:
CastDevToolsDelegate();
~CastDevToolsDelegate() override;
// devtools_http_handler::DevToolsHttpHandlerDelegate implementation.
std::string GetDiscoveryPageHTML() override;
std::string GetFrontendResource(const std::string& path) override;
std::string GetPageThumbnailData(const GURL& url) override;
content::DevToolsExternalAgentProxyDelegate*
HandleWebSocketConnection(const std::string& path) override;
private:
DISALLOW_COPY_AND_ASSIGN(CastDevToolsDelegate);
};
} // namespace shell
} // namespace chromecast
#endif // CHROMECAST_BROWSER_DEVTOOLS_CAST_DEV_TOOLS_DELEGATE_H_