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

Unified Diff: chromecast/public/cast_sys_info_shlib.h

Issue 1092283003: [Chromecast] CastSysInfo implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address some comments from patchset 1 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
« chromecast/public/cast_sys_info.h ('K') | « chromecast/public/cast_sys_info.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/public/cast_sys_info_shlib.h
diff --git a/chromecast/public/cast_sys_info_shlib.h b/chromecast/public/cast_sys_info_shlib.h
new file mode 100644
index 0000000000000000000000000000000000000000..d304ecf9b04aefff3a02d0fb6070cf6d90f39aa0
--- /dev/null
+++ b/chromecast/public/cast_sys_info_shlib.h
@@ -0,0 +1,26 @@
+// 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_PUBLIC_CAST_SYS_INFO_SHLIB_H_
+#define CHROMECAST_PUBLIC_CAST_SYS_INFO_SHLIB_H_
+
+#include <string>
+#include <vector>
+
+#include "chromecast_export.h"
+
+namespace chromecast {
+
+class CastSysInfo;
+
+// Defines a static function in a class since gcc makes warning if visibility
gunsch 2015/04/20 21:32:25 This isn't really a great description of this clas
derekjchow1 2015/04/20 22:10:52 Documented the function.
+// attribute is set on global functions.
+class CHROMECAST_EXPORT CastSysInfoShlib {
+ public:
+ static CastSysInfo* Create(const std::vector<std::string>& argv);
+};
+
+} // namespace chromecast
+
+#endif // CHROMECAST_PUBLIC_CAST_SYS_INFO_SHLIB_H_
« chromecast/public/cast_sys_info.h ('K') | « chromecast/public/cast_sys_info.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698