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

Side by Side Diff: chromecast/base/cast_sys_info_dummy.cc

Issue 2066743004: [Chromecast] More initialized fields for cast_sys_info_dummy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: meaningful names 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/base/cast_sys_info_dummy.h" 5 #include "chromecast/base/cast_sys_info_dummy.h"
6 6
7 namespace chromecast { 7 namespace chromecast {
8 8
9 CastSysInfoDummy::CastSysInfoDummy() 9 CastSysInfoDummy::CastSysInfoDummy()
10 : build_type_(BUILD_ENG), 10 : build_type_(BUILD_ENG),
11 serial_number_("dummy.serial.number"), 11 serial_number_("dummy.serial.number"),
12 product_name_("dummy product"), 12 product_name_("cast_shell"),
13 device_model_("dummy model"), 13 device_model_("dummy model"),
14 board_name_("dummy board"),
15 manufacturer_("google"),
16 system_build_number_(__DATE__ " - " __TIME__),
14 factory_country_("US"), 17 factory_country_("US"),
15 factory_locale_("en-US") { 18 factory_locale_("en-US") {
16 } 19 }
17 20
18 CastSysInfoDummy::~CastSysInfoDummy() { 21 CastSysInfoDummy::~CastSysInfoDummy() {
19 } 22 }
20 23
21 CastSysInfo::BuildType CastSysInfoDummy::GetBuildType() { 24 CastSysInfo::BuildType CastSysInfoDummy::GetBuildType() {
22 return build_type_; 25 return build_type_;
23 } 26 }
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 155
153 void CastSysInfoDummy::SetGlRendererForTesting(const std::string& gl_renderer) { 156 void CastSysInfoDummy::SetGlRendererForTesting(const std::string& gl_renderer) {
154 gl_renderer_ = gl_renderer; 157 gl_renderer_ = gl_renderer;
155 } 158 }
156 159
157 void CastSysInfoDummy::SetGlVersionForTesting(const std::string& gl_version) { 160 void CastSysInfoDummy::SetGlVersionForTesting(const std::string& gl_version) {
158 gl_version_ = gl_version; 161 gl_version_ = gl_version;
159 } 162 }
160 163
161 } // namespace chromecast 164 } // namespace chromecast
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698