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

Unified Diff: content/common/android/media_metadata_android.h

Issue 1458703003: Media Session API: use MediaMetadata in the browser process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@media_session_browser_side
Patch Set: nits Created 4 years, 9 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 | « content/common/android/common_jni_registrar.cc ('k') | content/common/android/media_metadata_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/android/media_metadata_android.h
diff --git a/content/common/android/media_metadata_android.h b/content/common/android/media_metadata_android.h
new file mode 100644
index 0000000000000000000000000000000000000000..e580e53af0fca3df68c0ad8fc0c8e001528a3739
--- /dev/null
+++ b/content/common/android/media_metadata_android.h
@@ -0,0 +1,29 @@
+// Copyright 2016 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 CONTENT_COMMON_ANDROID_MEDIA_METADATA_ANDROID_H_
+#define CONTENT_COMMON_ANDROID_MEDIA_METADATA_ANDROID_H_
+
+#include <jni.h>
+
+#include "base/android/scoped_java_ref.h"
+
+namespace content {
+
+struct MediaMetadata;
+
+class MediaMetadataAndroid {
+ public:
+ static base::android::ScopedJavaLocalRef<jobject> CreateJavaObject(
+ JNIEnv* env, const MediaMetadata& metadata);
+
+ static bool Register(JNIEnv* env);
+
+ private:
+ DISALLOW_IMPLICIT_CONSTRUCTORS(MediaMetadataAndroid);
+};
+
+} // namespace content
+
+#endif // CONTENT_COMMON_ANDROID_MEDIA_METADATA_ANDROID_H_
« no previous file with comments | « content/common/android/common_jni_registrar.cc ('k') | content/common/android/media_metadata_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698