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

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

Issue 1889643003: Permissions: Add new Infobar to support grouped permission requests on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 7 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/android/java_sources.gni ('k') | chrome/browser/media/media_stream_infobar_delegate_android.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7e7c73533d7f8fb4b352f480b2657c74863e62c1..f97f3c5d78f40dd43560241258cab84f30820eef 100644
--- a/chrome/browser/android/chrome_jni_registrar.cc
+++ b/chrome/browser/android/chrome_jni_registrar.cc
@@ -144,6 +144,7 @@
#include "chrome/browser/ui/android/infobars/data_reduction_proxy_infobar.h"
#include "chrome/browser/ui/android/infobars/download_overwrite_infobar.h"
#include "chrome/browser/ui/android/infobars/generated_password_saved_infobar.h"
+#include "chrome/browser/ui/android/infobars/grouped_permission_infobar.h"
#include "chrome/browser/ui/android/infobars/infobar_android.h"
#include "chrome/browser/ui/android/infobars/infobar_container_android.h"
#include "chrome/browser/ui/android/infobars/save_password_infobar.h"
@@ -286,6 +287,7 @@ static base::android::RegistrationMethod kChromeRegisteredMethods[] = {
FullscreenInfoBarDelegate::RegisterFullscreenInfoBarDelegate},
{"GeneratedPasswordSavedInfoBarDelegate",
RegisterGeneratedPasswordSavedInfoBarDelegate},
+ {"GroupedPermissionInfoBar", GroupedPermissionInfoBar::Register},
{"HistoryReportJniBridge", history_report::RegisterHistoryReportJniBridge},
{"InfoBarContainer", RegisterInfoBarContainer},
{"InterestsService", InterestsService::Register},
« no previous file with comments | « chrome/android/java_sources.gni ('k') | chrome/browser/media/media_stream_infobar_delegate_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698