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

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

Issue 1698933004: Make MediaSession a runtime-enabled feature on Desktop. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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/browser/BUILD.gn ('k') | content/browser/media/android/OWNERS » ('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 05e6a377447165f8f8e0b0946a6b35e1ba39ed9d..1be2ea585fe00fc454f67d7a2375a72000c9bb56 100644
--- a/content/browser/android/browser_jni_registrar.cc
+++ b/content/browser/android/browser_jni_registrar.cc
@@ -29,7 +29,7 @@
#include "content/browser/gamepad/gamepad_platform_data_fetcher_android.h"
#include "content/browser/geolocation/location_api_adapter_android.h"
#include "content/browser/media/android/media_resource_getter_impl.h"
-#include "content/browser/media/android/media_session.h"
+#include "content/browser/media/session/media_session_delegate_android.h"
#include "content/browser/mojo/service_registrar_android.h"
#include "content/browser/mojo/service_registry_android.h"
#include "content/browser/power_save_blocker_android.h"
@@ -50,7 +50,7 @@ base::android::RegistrationMethod kContentRegisteredMethods[] = {
{"CoreImpl", mojo::android::RegisterCoreImpl},
{"MediaResourceGetterImpl",
content::MediaResourceGetterImpl::RegisterMediaResourceGetter},
- {"MediaSession", content::MediaSession::RegisterMediaSession},
+ {"MediaSessionDelegate", content::MediaSessionDelegateAndroid::Register},
{"AndroidLocationApiAdapter",
content::AndroidLocationApiAdapter::RegisterGeolocationService},
{"BackgroundSyncNetworkObserverAndroid",
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/media/android/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698