OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "chromecast/base/cast_sys_info_dummy.h" |
| 6 |
| 7 namespace chromecast { |
| 8 |
| 9 CastSysInfoDummy::CastSysInfoDummy() { |
| 10 } |
| 11 |
| 12 CastSysInfoDummy::~CastSysInfoDummy() { |
| 13 } |
| 14 |
| 15 void CastSysInfoDummy::Initialize() { |
| 16 } |
| 17 |
| 18 void CastSysInfoDummy::Finalize() { |
| 19 } |
| 20 |
| 21 CastSysInfo::BuildType CastSysInfoDummy::GetBuildType() { |
| 22 return BUILD_ENG; |
| 23 } |
| 24 |
| 25 const std::string CastSysInfoDummy::GetSystemReleaseChannel() { |
| 26 return ""; |
| 27 } |
| 28 |
| 29 const std::string CastSysInfoDummy::GetSerialNumber() { |
| 30 return "dummy.serial.number"; |
| 31 } |
| 32 |
| 33 const std::string CastSysInfoDummy::GetProductName() { |
| 34 return ""; |
| 35 } |
| 36 |
| 37 const std::string CastSysInfoDummy::GetDeviceModel() { |
| 38 return ""; |
| 39 } |
| 40 |
| 41 const std::string CastSysInfoDummy::GetBoardName() { |
| 42 return ""; |
| 43 } |
| 44 |
| 45 const std::string CastSysInfoDummy::GetBoardRevision() { |
| 46 return ""; |
| 47 } |
| 48 |
| 49 const std::string CastSysInfoDummy::GetManufacturer() { |
| 50 return ""; |
| 51 } |
| 52 |
| 53 const std::string CastSysInfoDummy::GetSystemBuildNumber() { |
| 54 return ""; |
| 55 } |
| 56 |
| 57 const std::string CastSysInfoDummy::GetFactoryCountry() { |
| 58 return "US"; |
| 59 } |
| 60 |
| 61 const std::string CastSysInfoDummy::GetFactoryLocale( |
| 62 std::string* second_locale) { |
| 63 return "en-US"; |
| 64 } |
| 65 |
| 66 const std::string CastSysInfoDummy::GetWifiInterface() { |
| 67 return ""; |
| 68 } |
| 69 |
| 70 const std::string CastSysInfoDummy::GetApInterface() { |
| 71 return ""; |
| 72 } |
| 73 |
| 74 } // namespace chromecast |
OLD | NEW |