blob: 93f17044a90f57baf5ed86c2c739e0abeef3de39 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
// 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.
#include "chromecast/browser/devtools/cast_dev_tools_delegate.h"
#include "base/macros.h"
#include "grit/shell_resources.h"
#include "ui/base/resource/resource_bundle.h"
namespace chromecast {
namespace shell {
// CastDevToolsDelegate -----------------------------------------------------
CastDevToolsDelegate::CastDevToolsDelegate() {
}
CastDevToolsDelegate::~CastDevToolsDelegate() {
}
std::string CastDevToolsDelegate::GetDiscoveryPageHTML() {
#if defined(OS_ANDROID)
return std::string();
#else
return ResourceBundle::GetSharedInstance().GetRawDataResource(
IDR_CAST_SHELL_DEVTOOLS_DISCOVERY_PAGE).as_string();
#endif // defined(OS_ANDROID)
}
std::string CastDevToolsDelegate::GetFrontendResource(
const std::string& path) {
return std::string();
}
std::string CastDevToolsDelegate::GetPageThumbnailData(const GURL& url) {
return std::string();
}
} // namespace shell
} // namespace chromecast
|