Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Unified Diff: chromecast/base/cast_sys_info_dummy.h

Issue 1092283003: [Chromecast] CastSysInfo implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated comments. Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..c969e5a1e67ce957c3ffa24c94a2eb9769d736e8
--- /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;
+ 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_

Powered by Google App Engine
This is Rietveld 408576698