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

Unified Diff: chrome/browser/android/chrome_jni_registrar.cc

Issue 1240923002: Add an infobar to resolve android runtime permission mismatches. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address dfalcantara@ comment Created 5 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
Index: chrome/browser/android/chrome_jni_registrar.cc
diff --git a/chrome/browser/android/chrome_jni_registrar.cc b/chrome/browser/android/chrome_jni_registrar.cc
index 44de8f2aa0feffebc95466308c54c9bb5f59e40a..2c1e5d8b234bfe85fae1ce0ed1e8fa9bd8cbc477 100644
--- a/chrome/browser/android/chrome_jni_registrar.cc
+++ b/chrome/browser/android/chrome_jni_registrar.cc
@@ -87,6 +87,7 @@
#include "chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.h"
#include "chrome/browser/notifications/notification_ui_manager_android.h"
#include "chrome/browser/password_manager/credential_android.h"
+#include "chrome/browser/permissions/permission_update_infobar_delegate_android.h"
#include "chrome/browser/prerender/external_prerender_handler_android.h"
#include "chrome/browser/profiles/profile_android.h"
#include "chrome/browser/search_engines/template_url_service_android.h"
@@ -266,6 +267,8 @@ static base::android::RegistrationMethod kChromeRegisteredMethods[] = {
autofill::PasswordGenerationPopupViewAndroid::Register},
{"PasswordUIViewAndroid",
PasswordUIViewAndroid::RegisterPasswordUIViewAndroid},
+ {"PermissionUpdateInfoBarDelegate",
+ PermissionUpdateInfoBarDelegate::RegisterPermissionUpdateInfoBarDelegate},
{"PersonalDataManagerAndroid",
autofill::PersonalDataManagerAndroid::Register},
{"PolicyManager", RegisterPolicyManager},

Powered by Google App Engine
This is Rietveld 408576698