| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |