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

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

Issue 2755593002: Remove pointer from PermissionPromptAndroid to InfoBar (Closed)
Patch Set: fix comment Created 3 years, 8 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 | « no previous file | chrome/browser/permissions/grouped_permission_infobar_delegate_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/permissions/grouped_permission_infobar_delegate_android.h
diff --git a/chrome/browser/permissions/grouped_permission_infobar_delegate_android.h b/chrome/browser/permissions/grouped_permission_infobar_delegate_android.h
index 15839fb9bad178a0d8599121e7aeedbc7477b2da..148379c948e3fdd24bdba1c87d26615d5096e428 100644
--- a/chrome/browser/permissions/grouped_permission_infobar_delegate_android.h
+++ b/chrome/browser/permissions/grouped_permission_infobar_delegate_android.h
@@ -50,8 +50,6 @@ class GroupedPermissionInfoBarDelegate : public ConfirmInfoBarDelegate {
bool Cancel() override;
void InfoBarDismissed() override;
- void PermissionPromptDestroyed();
-
protected:
bool GetAcceptState(size_t position);
@@ -65,6 +63,9 @@ class GroupedPermissionInfoBarDelegate : public ConfirmInfoBarDelegate {
int GetButtons() const override;
base::string16 GetButtonLabel(InfoBarButton button) const override;
+ // InfoBarDelegate:
+ bool EqualsDelegate(infobars::InfoBarDelegate* delegate) const override;
+
const GURL requesting_origin_;
// Whether the accept/deny decision is persisted.
bool persist_;
« no previous file with comments | « no previous file | chrome/browser/permissions/grouped_permission_infobar_delegate_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698