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

Unified Diff: chromecast/base/cast_sys_info_util_simple.cc

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/base/cast_sys_info_util.h ('k') | chromecast/chromecast.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/base/cast_sys_info_util_simple.cc
diff --git a/chromecast/graphics/graphics_properties_default.cc b/chromecast/base/cast_sys_info_util_simple.cc
similarity index 52%
copy from chromecast/graphics/graphics_properties_default.cc
copy to chromecast/base/cast_sys_info_util_simple.cc
index 200c6cc4b3a5a43c48fefc2363bb79e33bb8eef0..68ab9dffb2c233c7afc3845c30cf85c73aaf1274 100644
--- a/chromecast/graphics/graphics_properties_default.cc
+++ b/chromecast/base/cast_sys_info_util_simple.cc
@@ -2,14 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chromecast/public/graphics_properties_shlib.h"
+#include "chromecast/base/cast_sys_info_util.h"
+
+#include "chromecast/base/cast_sys_info_dummy.h"
namespace chromecast {
-bool GraphicsPropertiesShlib::IsSupported(
- Resolution resolution,
- const std::vector<std::string>& argv) {
- return true;
+// static
+scoped_ptr<CastSysInfo> CreateSysInfo() {
+ return make_scoped_ptr(new CastSysInfoDummy());
}
} // namespace chromecast
« no previous file with comments | « chromecast/base/cast_sys_info_util.h ('k') | chromecast/chromecast.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698