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

Unified Diff: webkit/fileapi/quota_file_util.cc

Issue 6995017: Revert 84771 - Fix QuotaFileUtil to write .usage into the same directory as "chrome-", not under ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/quota_file_util.cc
===================================================================
--- webkit/fileapi/quota_file_util.cc (revision 84776)
+++ webkit/fileapi/quota_file_util.cc (working copy)
@@ -10,7 +10,6 @@
#include "webkit/fileapi/file_system_operation_context.h"
#include "webkit/fileapi/file_system_path_manager.h"
#include "webkit/fileapi/file_system_usage_cache.h"
-#include "webkit/fileapi/sandbox_mount_point_provider.h"
namespace fileapi {
@@ -44,8 +43,8 @@
static FilePath InitUsageFile(FileSystemOperationContext* fs_context) {
FilePath base_path = fs_context->file_system_context()->path_manager()->
- sandbox_provider()->GetBaseDirectoryForOriginAndType(
- fs_context->src_origin_url(), fs_context->src_type());
+ ValidateFileSystemRootAndGetPathOnFileThread(fs_context->src_origin_url(),
+ fs_context->src_type(), FilePath(), false);
FilePath usage_file_path =
base_path.AppendASCII(FileSystemUsageCache::kUsageFileName);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698