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

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

Issue 1649483002: Revert of Aura on Android: content/browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@auraclank_upstream_select_file
Patch Set: Merging android_non_aura_browser_sources into android_browser_sources rather than private_browser_s… Created 4 years, 11 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
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 5d8a3e908d7096b8da9eb89caf593202d483c722..05e6a377447165f8f8e0b0946a6b35e1ba39ed9d 100644
--- a/content/browser/android/browser_jni_registrar.cc
+++ b/content/browser/android/browser_jni_registrar.cc
@@ -7,20 +7,13 @@
#include "base/android/jni_android.h"
#include "base/android/jni_registrar.h"
#include "base/macros.h"
-#include "content/browser/android/browser_startup_controller.h"
-#include "content/browser/android/child_process_launcher_android.h"
-#include "content/browser/android/content_video_view.h"
-#include "content/browser/media/android/media_resource_getter_impl.h"
-#include "content/browser/media/android/media_session.h"
-#include "content/browser/mojo/service_registrar_android.h"
-#include "content/browser/mojo/service_registry_android.h"
-#include "mojo/android/system/core_impl.h"
-
-#if !defined(USE_AURA)
#include "content/browser/accessibility/browser_accessibility_android.h"
#include "content/browser/accessibility/browser_accessibility_manager_android.h"
#include "content/browser/android/background_sync_network_observer_android.h"
+#include "content/browser/android/browser_startup_controller.h"
+#include "content/browser/android/child_process_launcher_android.h"
#include "content/browser/android/composited_touch_handle_drawable.h"
+#include "content/browser/android/content_video_view.h"
#include "content/browser/android/content_view_core_impl.h"
#include "content/browser/android/content_view_render_view.h"
#include "content/browser/android/content_view_statics.h"
@@ -35,6 +28,10 @@
#include "content/browser/frame_host/navigation_controller_android.h"
#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/mojo/service_registrar_android.h"
+#include "content/browser/mojo/service_registry_android.h"
#include "content/browser/power_save_blocker_android.h"
#include "content/browser/renderer_host/ime_adapter_android.h"
#include "content/browser/renderer_host/input/synthetic_gesture_target_android.h"
@@ -43,7 +40,7 @@
#include "content/browser/time_zone_monitor_android.h"
#include "content/browser/vr/android/cardboard/cardboard_vr_device.h"
#include "content/browser/web_contents/web_contents_android.h"
-#endif
+#include "mojo/android/system/core_impl.h"
namespace {
base::android::RegistrationMethod kContentRegisteredMethods[] = {
@@ -54,7 +51,6 @@ base::android::RegistrationMethod kContentRegisteredMethods[] = {
{"MediaResourceGetterImpl",
content::MediaResourceGetterImpl::RegisterMediaResourceGetter},
{"MediaSession", content::MediaSession::RegisterMediaSession},
-#if !defined(USE_AURA)
{"AndroidLocationApiAdapter",
content::AndroidLocationApiAdapter::RegisterGeolocationService},
{"BackgroundSyncNetworkObserverAndroid",
@@ -101,7 +97,6 @@ base::android::RegistrationMethod kContentRegisteredMethods[] = {
{"WebContentsAndroid", content::WebContentsAndroid::Register},
{"WebContentsObserver", content::RegisterWebContentsObserverProxy},
{"WebViewStatics", content::RegisterWebViewStatics},
-#endif // !USE_AURA
};
} // namespace

Powered by Google App Engine
This is Rietveld 408576698