Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Side by Side Diff: chromecast/browser/devtools/cast_dev_tools_delegate.cc

Issue 2300703005: DevTools: merge devtools_http_handler into content - it is used in all the embedders anyways. (Closed)
Patch Set: for_landing! Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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.
4
5 #include "chromecast/browser/devtools/cast_dev_tools_delegate.h"
6
7 #include "base/macros.h"
8 #include "build/build_config.h"
9 #include "grit/shell_resources.h"
10 #include "ui/base/resource/resource_bundle.h"
11
12 namespace chromecast {
13 namespace shell {
14
15 // CastDevToolsDelegate -----------------------------------------------------
16
17 CastDevToolsDelegate::CastDevToolsDelegate() {
18 }
19
20 CastDevToolsDelegate::~CastDevToolsDelegate() {
21 }
22
23 std::string CastDevToolsDelegate::GetDiscoveryPageHTML() {
24 #if defined(OS_ANDROID)
25 return std::string();
26 #else
27 return ResourceBundle::GetSharedInstance().GetRawDataResource(
28 IDR_CAST_SHELL_DEVTOOLS_DISCOVERY_PAGE).as_string();
29 #endif // defined(OS_ANDROID)
30 }
31
32 std::string CastDevToolsDelegate::GetFrontendResource(
33 const std::string& path) {
34 return std::string();
35 }
36
37 } // namespace shell
38 } // namespace chromecast
OLDNEW
« no previous file with comments | « chromecast/browser/devtools/cast_dev_tools_delegate.h ('k') | chromecast/browser/devtools/cast_devtools_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698