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

Unified Diff: components/web_contents_delegate_android/component_jni_registrar.cc

Issue 2146753002: Android: Remove unneeded RegisterNatives() calls (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Android: Don't require RegisterNatives if there are none Created 4 years, 4 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: components/web_contents_delegate_android/component_jni_registrar.cc
diff --git a/components/web_contents_delegate_android/component_jni_registrar.cc b/components/web_contents_delegate_android/component_jni_registrar.cc
index 7a3c8dd6fc53dd8f3d237321cce1a45ab907306f..65fdb2f75e52973282ae779f021472dfb2a362fa 100644
--- a/components/web_contents_delegate_android/component_jni_registrar.cc
+++ b/components/web_contents_delegate_android/component_jni_registrar.cc
@@ -8,15 +8,11 @@
#include "base/android/jni_registrar.h"
#include "base/macros.h"
#include "components/web_contents_delegate_android/color_chooser_android.h"
-#include "components/web_contents_delegate_android/validation_message_bubble_android.h"
-#include "components/web_contents_delegate_android/web_contents_delegate_android.h"
namespace web_contents_delegate_android {
static base::android::RegistrationMethod kComponentRegisteredMethods[] = {
{ "ColorChooserAndroid", RegisterColorChooserAndroid },
- { "ValidationMessageBubble", ValidationMessageBubbleAndroid::Register },
- { "WebContentsDelegateAndroid", RegisterWebContentsDelegateAndroid },
};
bool RegisterWebContentsDelegateAndroidJni(JNIEnv* env) {

Powered by Google App Engine
This is Rietveld 408576698