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

Unified Diff: android_webview/native/android_webview_jni_registrar.cc

Issue 2202783002: android_webview: Remove unneeded RegisterNatives() calls (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@jnireg1
Patch Set: android_webview: Remove unneeded RegisterNatives() calls 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 | « android_webview/native/BUILD.gn ('k') | android_webview/native/aw_contents_background_thread_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/native/android_webview_jni_registrar.cc
diff --git a/android_webview/native/android_webview_jni_registrar.cc b/android_webview/native/android_webview_jni_registrar.cc
index 9b0ccfe99b9167258c65f74627e6db6aaa129a41..c63d915f5d27a7c26e6856a16e016a46edc60e00 100644
--- a/android_webview/native/android_webview_jni_registrar.cc
+++ b/android_webview/native/android_webview_jni_registrar.cc
@@ -7,10 +7,7 @@
#include "android_webview/native/android_protocol_handler.h"
#include "android_webview/native/aw_autofill_client.h"
#include "android_webview/native/aw_contents.h"
-#include "android_webview/native/aw_contents_background_thread_client.h"
#include "android_webview/native/aw_contents_client_bridge.h"
-#include "android_webview/native/aw_contents_io_thread_client_impl.h"
-#include "android_webview/native/aw_contents_lifecycle_notifier.h"
#include "android_webview/native/aw_contents_statics.h"
#include "android_webview/native/aw_debug.h"
#include "android_webview/native/aw_dev_tools_server.h"
@@ -22,13 +19,9 @@
#include "android_webview/native/aw_pdf_exporter.h"
#include "android_webview/native/aw_picture.h"
#include "android_webview/native/aw_quota_manager_bridge_impl.h"
-#include "android_webview/native/aw_resource.h"
#include "android_webview/native/aw_settings.h"
#include "android_webview/native/aw_web_contents_delegate.h"
-#include "android_webview/native/aw_web_resource_response_impl.h"
#include "android_webview/native/cookie_manager.h"
-#include "android_webview/native/input_stream_impl.h"
-#include "android_webview/native/java_browser_view_renderer_helper.h"
#include "android_webview/native/permission/aw_permission_request.h"
#include "base/android/jni_android.h"
#include "base/android/jni_registrar.h"
@@ -41,10 +34,7 @@ static base::android::RegistrationMethod kWebViewRegisteredMethods[] = {
{ "AndroidProtocolHandler", RegisterAndroidProtocolHandler },
{ "AwAutofillClient", RegisterAwAutofillClient },
{ "AwContents", RegisterAwContents },
- { "AwContentsBackgroundThreadClient",
- RegisterAwContentsBackgroundThreadClient },
{ "AwContentsClientBridge", RegisterAwContentsClientBridge },
- { "AwContentsIoThreadClientImpl", RegisterAwContentsIoThreadClientImpl },
{ "AwContentsStatics", RegisterAwContentsStatics },
{ "AwDebug", RegisterAwDebug },
{ "AwDevToolsServer", RegisterAwDevToolsServer },
@@ -56,14 +46,9 @@ static base::android::RegistrationMethod kWebViewRegisteredMethods[] = {
{ "AwPdfExporter", RegisterAwPdfExporter },
{ "AwPermissionRequest", RegisterAwPermissionRequest },
{ "AwQuotaManagerBridge", RegisterAwQuotaManagerBridge },
- { "AwResource", AwResource::RegisterAwResource },
{ "AwWebContentsDelegate", RegisterAwWebContentsDelegate },
{ "CookieManager", RegisterCookieManager },
- { "AwWebResourceResponseImpl", RegisterAwWebResourceResponse },
- { "InputStream", RegisterInputStream },
- { "JavaBrowserViewRendererHelper", RegisterJavaBrowserViewRendererHelper },
{ "AwMessagePortService", RegisterAwMessagePortService },
- { "AwContentsLifecycleNotifier", RegisterAwContentsLifecycleNotifier },
{ "AwGLFunctor", RegisterAwGLFunctor },
};
« no previous file with comments | « android_webview/native/BUILD.gn ('k') | android_webview/native/aw_contents_background_thread_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698