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

Unified Diff: chrome/browser/permissions/grouped_permission_infobar_delegate_android.cc

Issue 2315563002: Add PermissionPromptAndroid skeleton (Closed)
Patch Set: remove unused stuff Created 4 years, 2 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/permissions/grouped_permission_infobar_delegate_android.cc
diff --git a/chrome/browser/permissions/grouped_permission_infobar_delegate_android.cc b/chrome/browser/permissions/grouped_permission_infobar_delegate_android.cc
index af595628b7095ecb5e2dca3fc0b71410f4cf5687..d8a66e3abab4572230fe7ef64aaa9df61694fe74 100644
--- a/chrome/browser/permissions/grouped_permission_infobar_delegate_android.cc
+++ b/chrome/browser/permissions/grouped_permission_infobar_delegate_android.cc
@@ -63,6 +63,16 @@ base::string16 GroupedPermissionInfoBarDelegate::GetMessageText() const {
url_formatter::FormatUrlForSecurityDisplay(requesting_origin_));
}
+bool GroupedPermissionInfoBarDelegate::Accept() {
+ // TODO(lshang): Implement this so that 'OK' button works.
+ return true;
+}
+
+bool GroupedPermissionInfoBarDelegate::Cancel() {
+ // TODO(lshang): Implement this so that 'Cancel' button works.
+ return true;
+}
+
bool GroupedPermissionInfoBarDelegate::GetAcceptState(size_t position) {
DCHECK_LT(position, requests_.size());
return accept_states_[position];

Powered by Google App Engine
This is Rietveld 408576698