Index: chrome/browser/permissions/grouped_permission_infobar_delegate.h |
diff --git a/chrome/browser/permissions/grouped_permission_infobar_delegate.h b/chrome/browser/permissions/grouped_permission_infobar_delegate.h |
index f0a22ced3e5f36a28108eeb6af278b9dcfd82d44..70dc48d5dbf3c514d40cca8242c8411a79097512 100644 |
--- a/chrome/browser/permissions/grouped_permission_infobar_delegate.h |
+++ b/chrome/browser/permissions/grouped_permission_infobar_delegate.h |
@@ -33,6 +33,10 @@ class GroupedPermissionInfoBarDelegate : public ConfirmInfoBarDelegate { |
const std::vector<ContentSettingsType>& types); |
~GroupedPermissionInfoBarDelegate() override; |
+ bool ShouldShowPersistenceToggle() const; |
+ bool persist() const { return persist_; } |
+ void set_persist(bool persist) { persist_ = persist; } |
+ |
base::string16 GetMessageText() const override; |
int GetPermissionCount() const; |
@@ -57,6 +61,7 @@ class GroupedPermissionInfoBarDelegate : public ConfirmInfoBarDelegate { |
const GURL requesting_origin_; |
const std::vector<ContentSettingsType> types_; |
std::vector<bool> accept_states_; |
+ bool persist_; |
DISALLOW_COPY_AND_ASSIGN(GroupedPermissionInfoBarDelegate); |
}; |