Chromium Code Reviews| 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 #ifndef CHROMECAST_BASE_CAST_SYS_INFO_DUMMY_H_ | |
| 6 #define CHROMECAST_BASE_CAST_SYS_INFO_DUMMY_H_ | |
| 7 | |
| 8 #include "base/macros.h" | |
| 9 #include "chromecast/public/cast_sys_info.h" | |
| 10 | |
| 11 namespace chromecast { | |
| 12 | |
| 13 class CastSysInfoDummy : public CastSysInfo { | |
| 14 public: | |
| 15 CastSysInfoDummy(); | |
| 16 ~CastSysInfoDummy() override; | |
| 17 | |
| 18 // CastSysInfo implementation: | |
| 19 void Initialize() override; | |
| 20 void Finalize() override; | |
| 21 BuildType GetBuildType() override; | |
| 22 const std::string GetSystemReleaseChannel() override; | |
|
halliwell
2015/04/20 18:12:18
const is pointless on return by value.
derekjchow1
2015/04/20 21:15:32
Done.
| |
| 23 const std::string GetSerialNumber() override; | |
| 24 const std::string GetProductName() override; | |
| 25 const std::string GetDeviceModel() override; | |
| 26 const std::string GetBoardName() override; | |
| 27 const std::string GetBoardRevision() override; | |
| 28 const std::string GetManufacturer() override; | |
| 29 const std::string GetSystemBuildNumber() override; | |
| 30 const std::string GetFactoryCountry() override; | |
| 31 const std::string GetFactoryLocale(std::string* second_locale) override; | |
| 32 const std::string GetWifiInterface() override; | |
| 33 const std::string GetApInterface() override; | |
| 34 | |
| 35 private: | |
| 36 DISALLOW_COPY_AND_ASSIGN(CastSysInfoDummy); | |
| 37 }; | |
| 38 | |
| 39 } // namespace chromecast | |
| 40 | |
| 41 #endif // CHROMECAST_BASE_CAST_SYS_INFO_DUMMY_H_ | |
| OLD | NEW |