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

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

Issue 2191033002: Split ServiceRegistryAndroid into InterfaceRegistryAndroid and InterfaceProviderAndroid (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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 | « chrome/chrome_browser.gypi ('k') | content/browser/android/interface_provider_android_impl.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 25a2e91d32ecfe3a285a77560c4fb6505f3e3d8a..ed1343c371c56fae216bb0b5eed7c97c082050c0 100644
--- a/content/browser/android/browser_jni_registrar.cc
+++ b/content/browser/android/browser_jni_registrar.cc
@@ -18,17 +18,18 @@
#include "content/browser/android/content_view_render_view.h"
#include "content/browser/android/content_view_statics.h"
#include "content/browser/android/date_time_chooser_android.h"
+#include "content/browser/android/interface_provider_android_impl.h"
+#include "content/browser/android/interface_registry_android_impl.h"
#include "content/browser/android/interstitial_page_delegate_android.h"
#include "content/browser/android/load_url_params.h"
#include "content/browser/android/popup_touch_handle_drawable.h"
-#include "content/browser/android/service_registry_android_impl.h"
#include "content/browser/android/tracing_controller_android.h"
#include "content/browser/android/web_contents_observer_proxy.h"
#include "content/browser/device_sensors/sensor_manager_android.h"
#include "content/browser/frame_host/navigation_controller_android.h"
#include "content/browser/media/android/media_resource_getter_impl.h"
#include "content/browser/media/session/media_session_delegate_android.h"
-#include "content/browser/mojo/service_registrar_android.h"
+#include "content/browser/mojo/interface_registrar_android.h"
#include "content/browser/renderer_host/ime_adapter_android.h"
#include "content/browser/renderer_host/input/synthetic_gesture_target_android.h"
#include "content/browser/screen_orientation/screen_orientation_delegate_android.h"
@@ -57,6 +58,11 @@ base::android::RegistrationMethod kContentRegisteredMethods[] = {
{"DateTimePickerAndroid", content::RegisterDateTimeChooserAndroid},
{"HandleViewResources",
content::CompositedTouchHandleDrawable::RegisterHandleViewResources},
+ {"InterfaceRegistrarAndroid", content::InterfaceRegistrarAndroid::Register},
+ {"InterfaceRegistryAndroid",
+ content::InterfaceRegistryAndroidImpl::Register},
+ {"InterfaceProviderAndroid",
+ content::InterfaceProviderAndroidImpl::Register},
{"InterstitialPageDelegateAndroid",
content::InterstitialPageDelegateAndroid::
RegisterInterstitialPageDelegateAndroid},
@@ -71,8 +77,6 @@ base::android::RegistrationMethod kContentRegisteredMethods[] = {
{"ScreenOrientationProvider",
content::ScreenOrientationDelegateAndroid::Register},
{"SensorManagerAndroid", content::SensorManagerAndroid::Register},
- {"ServiceRegistrarAndroid", content::ServiceRegistrarAndroid::Register},
- {"ServiceRegistryAndroid", content::ServiceRegistryAndroidImpl::Register},
{"SpeechRecognizerImplAndroid",
content::SpeechRecognizerImplAndroid::RegisterSpeechRecognizer},
{"TimeZoneMonitorAndroid", content::TimeZoneMonitorAndroid::Register},
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | content/browser/android/interface_provider_android_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698