Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chromecast / browser / devtools / cast_dev_tools_delegate.cc
blob59bd0d3bc775ba49a3408359f7af9b5399d19540
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 #include "chromecast/browser/devtools/cast_dev_tools_delegate.h"
7 #include "base/macros.h"
8 #include "grit/shell_resources.h"
9 #include "ui/base/resource/resource_bundle.h"
11 namespace chromecast {
12 namespace shell {
14 // CastDevToolsDelegate -----------------------------------------------------
16 CastDevToolsDelegate::CastDevToolsDelegate() {
19 CastDevToolsDelegate::~CastDevToolsDelegate() {
22 std::string CastDevToolsDelegate::GetDiscoveryPageHTML() {
23 #if defined(OS_ANDROID)
24 return std::string();
25 #else
26 return ResourceBundle::GetSharedInstance().GetRawDataResource(
27 IDR_CAST_SHELL_DEVTOOLS_DISCOVERY_PAGE).as_string();
28 #endif // defined(OS_ANDROID)
31 std::string CastDevToolsDelegate::GetFrontendResource(
32 const std::string& path) {
33 return std::string();
36 std::string CastDevToolsDelegate::GetPageThumbnailData(const GURL& url) {
37 return std::string();
40 content::DevToolsExternalAgentProxyDelegate*
41 CastDevToolsDelegate::HandleWebSocketConnection(const std::string& path) {
42 return nullptr;
45 } // namespace shell
46 } // namespace chromecast