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

Unified Diff: content/common/database_util.cc

Issue 7037018: DB quota (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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
Index: content/common/database_util.cc
===================================================================
--- content/common/database_util.cc (revision 85641)
+++ content/common/database_util.cc (working copy)
@@ -51,3 +51,12 @@
filter->Send(new DatabaseHostMsg_GetFileSize(vfs_file_name, &rv));
return rv;
}
+
+long long DatabaseUtil::databaseGetSpaceAvaialble(
+ const WebString& origin_identifier) {
+ int64 rv = 0LL;
+ scoped_refptr<IPC::SyncMessageFilter> filter(
+ ChildThread::current()->sync_message_filter());
+ filter->Send(new DatabaseHostMsg_GetSpaceAvailable(origin_identifier, &rv));
+ return rv;
+}

Powered by Google App Engine
This is Rietveld 408576698