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

Side by Side Diff: content/common/android/media_metadata_proxy.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: remove dependencies from other CLs 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_COMMON_ANDROID_MEDIA_METADATA_PROXY_H_
6 #define CONTENT_COMMON_ANDROID_MEDIA_METADATA_PROXY_H_
7
8 #include <jni.h>
9
10 #include "base/android/scoped_java_ref.h"
11
12 namespace content {
13
14 struct MediaMetadata;
15
16 class MediaMetadataProxy {
Ted C 2016/03/01 17:18:11 The common naming would be MediaMetadataAndroid.
mlamouri (slow - plz ping) 2016/03/16 15:47:15 Isn't that mostly used for android implementations
Ted C 2016/03/16 16:55:58 Nope, web_contents_android, profile_android are pr
mlamouri (slow - plz ping) 2016/03/16 20:31:54 Ok. Done :)
17 public:
18 static base::android::ScopedJavaLocalRef<jobject> GetJavaObject(
Ted C 2016/03/01 17:18:11 I would use CreateJavaObject, Get implies reuse to
mlamouri (slow - plz ping) 2016/03/16 15:47:15 Done.
19 JNIEnv* env, const MediaMetadata& metadata);
20
21 static bool Register(JNIEnv* env);
22
23 private:
24 DISALLOW_IMPLICIT_CONSTRUCTORS(MediaMetadataProxy);
25 };
26
27 } // namespace content
28
29 #endif // CONTENT_COMMON_ANDROID_MEDIA_METADATA_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698