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

Unified Diff: chrome/browser/chrome_quota_permission_context.cc

Issue 308673007: Hide webkitPersistentStorage infobar on navigation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments Created 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_quota_permission_context.cc
diff --git a/chrome/browser/chrome_quota_permission_context.cc b/chrome/browser/chrome_quota_permission_context.cc
index 5d426079f624569e3e5a56d46da99cbec0ad3a51..86e6a72906be2e52098055ec8bc477f873ba2908 100644
--- a/chrome/browser/chrome_quota_permission_context.cc
+++ b/chrome/browser/chrome_quota_permission_context.cc
@@ -163,8 +163,6 @@ class RequestQuotaInfoBarDelegate : public ConfirmInfoBarDelegate {
virtual ~RequestQuotaInfoBarDelegate();
// ConfirmInfoBarDelegate:
- virtual bool ShouldExpireInternal(
- const NavigationDetails& details) const OVERRIDE;
virtual base::string16 GetMessageText() const OVERRIDE;
virtual bool Accept() OVERRIDE;
virtual bool Cancel() OVERRIDE;
@@ -213,11 +211,6 @@ RequestQuotaInfoBarDelegate::~RequestQuotaInfoBarDelegate() {
}
}
-bool RequestQuotaInfoBarDelegate::ShouldExpireInternal(
- const NavigationDetails& details) const {
- return false;
-}
-
base::string16 RequestQuotaInfoBarDelegate::GetMessageText() const {
// If the site requested larger quota than this threshold, show a different
// message to the user.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698