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

Unified Diff: content/browser/android/browser_jni_registrar.cc

Issue 2453623003: Decouple MediaSession messages from WebContents (full patch) (Closed)
Patch Set: nit Created 4 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
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/android/web_contents_observer_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/android/browser_jni_registrar.cc
diff --git a/content/browser/android/browser_jni_registrar.cc b/content/browser/android/browser_jni_registrar.cc
index 32dfc1042175dd3e5a5f4dd80846f148929c582e..51c9388813ba1b42b456d62d772245dc53d90e18 100644
--- a/content/browser/android/browser_jni_registrar.cc
+++ b/content/browser/android/browser_jni_registrar.cc
@@ -25,6 +25,7 @@
#include "content/browser/device_sensors/sensor_manager_android.h"
#include "content/browser/frame_host/navigation_controller_android.h"
#include "content/browser/media/session/audio_focus_delegate_android.h"
+#include "content/browser/media/session/media_session_android.h"
#include "content/browser/memory/memory_monitor_android.h"
#include "content/browser/renderer_host/ime_adapter_android.h"
#include "content/browser/speech/speech_recognizer_impl_android.h"
@@ -54,6 +55,7 @@ base::android::RegistrationMethod kContentRegisteredMethods[] = {
content::InterstitialPageDelegateAndroid::
RegisterInterstitialPageDelegateAndroid},
{"LoadUrlParams", content::RegisterLoadUrlParams},
+ {"MediaSessionImpl", content::MediaSessionAndroid::Register},
{"NavigationControllerAndroid",
content::NavigationControllerAndroid::Register},
{"RegisterImeAdapter", content::RegisterImeAdapter},
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/android/web_contents_observer_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698