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

Side by Side Diff: chromecast/common/cast_content_client.cc

Issue 1132663004: Chromecast: adds Android implementation of CastSysInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 7 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
« no previous file with comments | « chromecast/chromecast.gyp ('k') | chromecast/common/version.h.in » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « chromecast/chromecast.gyp ('k') | chromecast/common/version.h.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698