diff options
Diffstat (limited to 'chromecast/base/cast_sys_info_dummy.h')
-rw-r--r-- | chromecast/base/cast_sys_info_dummy.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/chromecast/base/cast_sys_info_dummy.h b/chromecast/base/cast_sys_info_dummy.h new file mode 100644 index 0000000..0b804a2 --- /dev/null +++ b/chromecast/base/cast_sys_info_dummy.h @@ -0,0 +1,39 @@ +// Copyright 2015 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef CHROMECAST_BASE_CAST_SYS_INFO_DUMMY_H_ +#define CHROMECAST_BASE_CAST_SYS_INFO_DUMMY_H_ + +#include "base/macros.h" +#include "chromecast/public/cast_sys_info.h" + +namespace chromecast { + +class CastSysInfoDummy : public CastSysInfo { + public: + CastSysInfoDummy(); + ~CastSysInfoDummy() override; + + // CastSysInfo implementation: + BuildType GetBuildType() override; + std::string GetSystemReleaseChannel() override; + std::string GetSerialNumber() override; + std::string GetProductName() override; + std::string GetDeviceModel() override; + std::string GetBoardName() override; + std::string GetBoardRevision() override; + std::string GetManufacturer() override; + std::string GetSystemBuildNumber() override; + std::string GetFactoryCountry() override; + std::string GetFactoryLocale(std::string* second_locale) override; + std::string GetWifiInterface() override; + std::string GetApInterface() override; + + private: + DISALLOW_COPY_AND_ASSIGN(CastSysInfoDummy); +}; + +} // namespace chromecast + +#endif // CHROMECAST_BASE_CAST_SYS_INFO_DUMMY_H_ |