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

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: Fix nits. 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
« no previous file with comments | « chromecast/DEPS ('k') | chromecast/base/cast_sys_info_dummy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..0b804a2d50a22a309ab685a624c050113eb7f254
--- /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_
« no previous file with comments | « chromecast/DEPS ('k') | chromecast/base/cast_sys_info_dummy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698