summaryrefslogtreecommitdiffstats
path: root/webkit/quota/quota_manager.cc
diff options
context:
space:
mode:
authorkinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-31 06:53:41 +0000
committerkinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-31 06:53:41 +0000
commit317f96c98a5a2da64db09d7f717fbadd0586e786 (patch)
tree73b8dc4cf66e294a93759da3b73eca1b6345adca /webkit/quota/quota_manager.cc
parentb93a206d2157e787fe522f4e21920e293f52e91f (diff)
downloadchromium_src-317f96c98a5a2da64db09d7f717fbadd0586e786.zip
chromium_src-317f96c98a5a2da64db09d7f717fbadd0586e786.tar.gz
chromium_src-317f96c98a5a2da64db09d7f717fbadd0586e786.tar.bz2
Quota InfoBar
For persistent storage request we need to show 'request quota' infoBar if the requested storage size (or requested new quota size) is greater than the current quota, and to show an infoBar we need to let the browser know which render view is requesting the storage. This patch includes necessary plumbing to send render process_id/view_id to the browser process and the info bar implementation itself. BUG=61676 TEST=none Review URL: http://codereview.chromium.org/6976026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87275 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/quota/quota_manager.cc')
-rw-r--r--webkit/quota/quota_manager.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/webkit/quota/quota_manager.cc b/webkit/quota/quota_manager.cc
index 53a97a6..845fdfc 100644
--- a/webkit/quota/quota_manager.cc
+++ b/webkit/quota/quota_manager.cc
@@ -849,16 +849,6 @@ void QuotaManager::GetUsageAndQuota(
}
}
-void QuotaManager::RequestQuota(
- const GURL& origin, StorageType type,
- int64 requested_size,
- RequestQuotaCallback* callback) {
- LazyInitialize();
- // TODO(kinuko): implement me.
- callback->Run(kQuotaErrorNotSupported, 0);
- delete callback;
-}
-
void QuotaManager::GetAvailableSpace(AvailableSpaceCallback* callback) {
scoped_refptr<AvailableSpaceQueryTask> task(
new AvailableSpaceQueryTask(this, db_thread_, profile_path_, callback));