OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chromecast/browser/devtools/cast_devtools_manager_delegate.h" | 5 #include "chromecast/browser/devtools/cast_devtools_manager_delegate.h" |
6 | 6 |
7 #include "base/macros.h" | 7 #include "base/macros.h" |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 #include "chromecast/app/resources/grit/shell_resources.h" |
9 #include "content/public/browser/devtools_agent_host.h" | 10 #include "content/public/browser/devtools_agent_host.h" |
10 #include "grit/shell_resources.h" | |
11 #include "ui/base/resource/resource_bundle.h" | 11 #include "ui/base/resource/resource_bundle.h" |
12 | 12 |
13 namespace chromecast { | 13 namespace chromecast { |
14 namespace shell { | 14 namespace shell { |
15 | 15 |
16 namespace { | 16 namespace { |
17 CastDevToolsManagerDelegate* g_devtools_manager_delegate = nullptr; | 17 CastDevToolsManagerDelegate* g_devtools_manager_delegate = nullptr; |
18 } // namespace | 18 } // namespace |
19 | 19 |
20 // static | 20 // static |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 #if defined(OS_ANDROID) | 59 #if defined(OS_ANDROID) |
60 return std::string(); | 60 return std::string(); |
61 #else | 61 #else |
62 return ResourceBundle::GetSharedInstance().GetRawDataResource( | 62 return ResourceBundle::GetSharedInstance().GetRawDataResource( |
63 IDR_CAST_SHELL_DEVTOOLS_DISCOVERY_PAGE).as_string(); | 63 IDR_CAST_SHELL_DEVTOOLS_DISCOVERY_PAGE).as_string(); |
64 #endif | 64 #endif |
65 } | 65 } |
66 | 66 |
67 } // namespace shell | 67 } // namespace shell |
68 } // namespace chromecast | 68 } // namespace chromecast |
OLD | NEW |