Index: chromecast/base/cast_sys_info_dummy.h |
diff --git a/chromecast/base/cast_sys_info_dummy.h b/chromecast/base/cast_sys_info_dummy.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f08a8275d2ec0a95a43ae7f2e8559a9e89347634 |
--- /dev/null |
+++ b/chromecast/base/cast_sys_info_dummy.h |
@@ -0,0 +1,41 @@ |
+// 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: |
+ void Initialize() override; |
+ void Finalize() override; |
+ BuildType GetBuildType() override; |
+ 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.
|
+ const std::string GetSerialNumber() override; |
+ const std::string GetProductName() override; |
+ const std::string GetDeviceModel() override; |
+ const std::string GetBoardName() override; |
+ const std::string GetBoardRevision() override; |
+ const std::string GetManufacturer() override; |
+ const std::string GetSystemBuildNumber() override; |
+ const std::string GetFactoryCountry() override; |
+ const std::string GetFactoryLocale(std::string* second_locale) override; |
+ const std::string GetWifiInterface() override; |
+ const std::string GetApInterface() override; |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(CastSysInfoDummy); |
+}; |
+ |
+} // namespace chromecast |
+ |
+#endif // CHROMECAST_BASE_CAST_SYS_INFO_DUMMY_H_ |