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

Unified Diff: webkit/fileapi/file_system_context.cc

Issue 7608018: Handle inconsistency between DB and Files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 9 years, 4 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: webkit/fileapi/file_system_context.cc
diff --git a/webkit/fileapi/file_system_context.cc b/webkit/fileapi/file_system_context.cc
index d4dffc26fed6a887fa6d0bffb34884b808f0090b..984310e59191ab88064d5022240dea8615266e03 100644
--- a/webkit/fileapi/file_system_context.cc
+++ b/webkit/fileapi/file_system_context.cc
@@ -92,6 +92,12 @@ bool FileSystemContext::DeleteDataForOriginAndTypeOnFileThread(
return false;
}
+void FileSystemContext::RecalculateUsage(
+ const GURL& origin_url, FileSystemType type) {
+ DCHECK(sandbox_provider());
+ sandbox_provider()->ScheduleRecalculateUsage(origin_url, type);
+}
+
FileSystemQuotaUtil*
FileSystemContext::GetQuotaUtil(FileSystemType type) const {
if (type == fileapi::kFileSystemTypeTemporary ||

Powered by Google App Engine
This is Rietveld 408576698