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

Unified Diff: media/base/media_android.cc

Issue 8718014: Upstream: Media implementation for Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address the comments Created 9 years, 1 month 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: media/base/media_android.cc
diff --git a/media/base/media_android.cc b/media/base/media_android.cc
new file mode 100644
index 0000000000000000000000000000000000000000..542bd9e7b38ee8b25ba4442dca9ed4ebbe6eee33
--- /dev/null
+++ b/media/base/media_android.cc
@@ -0,0 +1,27 @@
+// Copyright (c) 2011 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.
+
+#include "media/base/media.h"
+#include "base/logging.h"
+
+namespace media {
+
+bool InitializeMediaLibrary(const FilePath& module_dir) {
+ // Android doesn't require any additional media libraries.
+ return true;
+}
+
+void InitializeMediaLibraryForTesting() {
scherkus (not reviewing) 2011/12/01 17:24:13 nit: collapse empty methods
michaelbai 2011/12/01 18:58:06 Done.
+}
+
+bool IsMediaLibraryInitialized() {
+ return true;
+}
+
+bool InitializeOpenMaxLibrary(const FilePath& module_dir) {
+ NOTIMPLEMENTED();
+ return false;
+}
+
+} // namespace media

Powered by Google App Engine
This is Rietveld 408576698