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

Unified Diff: webkit/browser/fileapi/sandbox_mount_point_provider.cc

Issue 15950004: [Quota] Wire up limited origin usage retrieving. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test expectation Created 7 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: webkit/browser/fileapi/sandbox_mount_point_provider.cc
diff --git a/webkit/browser/fileapi/sandbox_mount_point_provider.cc b/webkit/browser/fileapi/sandbox_mount_point_provider.cc
index 0527b14a79e8bba7bf75a7e25a5d38a6dd72c6a1..129e90605819ac0109d7346da666d07eb9cd6943 100644
--- a/webkit/browser/fileapi/sandbox_mount_point_provider.cc
+++ b/webkit/browser/fileapi/sandbox_mount_point_provider.cc
@@ -323,12 +323,6 @@ FileSystemOperation* SandboxMountPointProvider::CreateFileSystemOperation(
operation_context->set_quota_limit_type(quota::kQuotaLimitTypeLimited);
}
- // Temporarily disable returning unlimited storage policy for non-PERSISTENT
- // storage. Since it may hurt performance for all FileSystem operation.
- if (url.type() != kFileSystemTypePersistent &&
- operation_context->quota_limit_type() == quota::kQuotaLimitTypeUnlimited)
- operation_context->set_quota_limit_type(quota::kQuotaLimitTypeLimited);
-
return new LocalFileSystemOperation(context, operation_context.Pass());
}

Powered by Google App Engine
This is Rietveld 408576698