| OLD | NEW |
| (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 | |
| OLD | NEW |