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

Unified Diff: webkit/fileapi/sandbox_mount_point_provider.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/sandbox_mount_point_provider.cc
diff --git a/webkit/fileapi/sandbox_mount_point_provider.cc b/webkit/fileapi/sandbox_mount_point_provider.cc
index 920a8209831775d62b745735eac15f0e39838f7f..5d61a75fbb91a0176867c6addebfd80389339309 100644
--- a/webkit/fileapi/sandbox_mount_point_provider.cc
+++ b/webkit/fileapi/sandbox_mount_point_provider.cc
@@ -620,6 +620,11 @@ void SandboxMountPointProvider::EndUpdateOriginOnFileThread(
FileSystemUsageCache::DecrementDirty(usage_file_path);
}
+void SandboxMountPointProvider::ScheduleRecalculateUsage(
+ const GURL& origin_url, fileapi::FileSystemType type) {
+ StartUpdateOriginOnFileThread(origin_url, type);
ericu 2011/08/17 00:54:08 This doesn't actually start an update--it just mar
tzik 2011/08/18 08:02:26 Actually, what I want to do in here is to incremen
ericu 2011/08/19 04:05:56 What about just deleting the usage cache file? Or
tzik 2011/08/23 04:13:13 If some write-operation are running, they breaks d
+}
+
FileSystemFileUtil* SandboxMountPointProvider::GetFileSystemFileUtil() {
return sandbox_file_util_.get();
}

Powered by Google App Engine
This is Rietveld 408576698