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
{
14 // CastDevToolsDelegate -----------------------------------------------------
16 CastDevToolsDelegate::CastDevToolsDelegate() {
19 CastDevToolsDelegate::~CastDevToolsDelegate() {
22 std::string
CastDevToolsDelegate::GetDiscoveryPageHTML() {
23 #if defined(OS_ANDROID)
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
) {
36 std::string
CastDevToolsDelegate::GetPageThumbnailData(const GURL
& url
) {
41 } // namespace chromecast