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

Unified Diff: webkit/fileapi/file_system_context.cc

Issue 7715024: Add browser_tests for FileAPI with Quota. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Rebased. Created 9 years, 3 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..82da15e7a9d825fed753d1a991d826034783e1ed 100644
--- a/webkit/fileapi/file_system_context.cc
+++ b/webkit/fileapi/file_system_context.cc
@@ -62,7 +62,6 @@ bool FileSystemContext::IsStorageUnlimited(const GURL& origin) {
// is file, or if unlimited quota for this process was explicitly requested,
// return true.
return unlimited_quota_ ||
- (allow_file_access_from_files_ && origin.SchemeIsFile()) ||
(special_storage_policy_.get() &&
special_storage_policy_->IsStorageUnlimited(origin));
}
« no previous file with comments | « content/browser/file_system/file_system_browsertest.cc ('k') | webkit/fileapi/file_system_context_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698