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

Unified Diff: chromecast/public/cast_media_shlib.h

Issue 1140583002: Adds new libcast_media shared library for cast_shell media (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: enable_default_cast_media -> use_default_libcast_media Created 5 years, 7 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/media/media.gyp ('K') | « chromecast/media/media.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/public/cast_media_shlib.h
diff --git a/chromecast/public/cast_media_shlib.h b/chromecast/public/cast_media_shlib.h
new file mode 100644
index 0000000000000000000000000000000000000000..86d59b1770f4e9cc643c07353cd3aa13c31013d8
--- /dev/null
+++ b/chromecast/public/cast_media_shlib.h
@@ -0,0 +1,29 @@
+// 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_MEDIA_SHLIB_H_
+#define CHROMECAST_PUBLIC_CAST_MEDIA_SHLIB_H_
+
+#include <string>
+#include <vector>
+
+#include "chromecast_export.h"
+
+namespace chromecast {
+
erickung1 2015/05/13 16:48:07 namespace media { Since most our media code are u
halliwell 2015/05/13 17:02:20 I half-remember a discussion about whether to put
lcwu1 2015/05/13 17:08:57 I don't remember a discussion on what namespace(s)
+class CHROMECAST_EXPORT CastMediaShlib {
+ public:
+ // Performs platform-specific one-time initialization for media systems and
+ // hardware resources. Called at startup in browser process before main
+ // message loop begins.
+ static void Initialize(const std::vector<std::string>& argv);
+
+ // Performs platform-specific one-time teardown of media systems and hardware
+ // resources. Called at browser process exit.
+ static void Finalize();
+};
+
+} // namespace chromecast
+
+#endif // CHROMECAST_PUBLIC_CAST_MEDIA_SHLIB_H_
« chromecast/media/media.gyp ('K') | « chromecast/media/media.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698