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..bef1124de91d193b448e8aea653f91e0ae954a9e 100644 |
--- a/webkit/fileapi/sandbox_mount_point_provider.cc |
+++ b/webkit/fileapi/sandbox_mount_point_provider.cc |
@@ -620,6 +620,15 @@ void SandboxMountPointProvider::EndUpdateOriginOnFileThread( |
FileSystemUsageCache::DecrementDirty(usage_file_path); |
} |
+void SandboxMountPointProvider::MarkDirtyOriginOnFileThread( |
+ const GURL& origin_url, fileapi::FileSystemType type) { |
+ DCHECK(type == fileapi::kFileSystemTypeTemporary || |
+ type == fileapi::kFileSystemTypePersistent); |
+ FilePath usage_file_path = GetUsageCachePathForOriginAndType( |
+ origin_url, type); |
+ FileSystemUsageCache::IncrementDirty(usage_file_path); |
+} |
+ |
FileSystemFileUtil* SandboxMountPointProvider::GetFileSystemFileUtil() { |
return sandbox_file_util_.get(); |
} |