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/common/cast_content_client.h" | 5 #include "chromecast/common/cast_content_client.h" |
6 | 6 |
7 #include "base/strings/stringprintf.h" | 7 #include "base/strings/stringprintf.h" |
8 #include "base/sys_info.h" | 8 #include "base/sys_info.h" |
9 #include "chromecast/common/version.h" | 9 #include "chromecast/base/version.h" |
10 #include "content/public/common/user_agent.h" | 10 #include "content/public/common/user_agent.h" |
11 #include "ui/base/l10n/l10n_util.h" | 11 #include "ui/base/l10n/l10n_util.h" |
12 #include "ui/base/resource/resource_bundle.h" | 12 #include "ui/base/resource/resource_bundle.h" |
13 | 13 |
14 namespace chromecast { | 14 namespace chromecast { |
15 namespace shell { | 15 namespace shell { |
16 | 16 |
17 namespace { | 17 namespace { |
18 | 18 |
19 #if defined(OS_ANDROID) | 19 #if defined(OS_ANDROID) |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 resource_id); | 91 resource_id); |
92 } | 92 } |
93 | 93 |
94 gfx::Image& CastContentClient::GetNativeImageNamed(int resource_id) const { | 94 gfx::Image& CastContentClient::GetNativeImageNamed(int resource_id) const { |
95 return ui::ResourceBundle::GetSharedInstance().GetNativeImageNamed( | 95 return ui::ResourceBundle::GetSharedInstance().GetNativeImageNamed( |
96 resource_id); | 96 resource_id); |
97 } | 97 } |
98 | 98 |
99 } // namespace shell | 99 } // namespace shell |
100 } // namespace chromecast | 100 } // namespace chromecast |
OLD | NEW |