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

Unified Diff: webkit/fileapi/file_system_usage_tracker.cc

Issue 6603034: Stop returning the true root path of each filesystem from openFileSystem.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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 | « webkit/fileapi/file_system_usage_tracker.h ('k') | webkit/fileapi/file_system_usage_tracker_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/file_system_usage_tracker.cc
===================================================================
--- webkit/fileapi/file_system_usage_tracker.cc (revision 79142)
+++ webkit/fileapi/file_system_usage_tracker.cc (working copy)
@@ -15,6 +15,7 @@
#include "googleurl/src/gurl.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 {
@@ -98,7 +99,7 @@
bool is_incognito)
: file_message_loop_(file_message_loop),
base_path_(profile_path.Append(
- FileSystemPathManager::kFileSystemDirectory)),
+ SandboxMountPointProvider::kFileSystemDirectory)),
is_incognito_(is_incognito) {
DCHECK(file_message_loop);
}
@@ -123,7 +124,7 @@
}
std::string origin_identifier =
- FileSystemPathManager::GetOriginIdentifierFromURL(origin_url);
+ SandboxMountPointProvider::GetOriginIdentifierFromURL(origin_url);
std::string type_string =
FileSystemPathManager::GetFileSystemTypeString(type);
std::string fs_identifier = origin_identifier + ":" + type_string;
@@ -139,7 +140,7 @@
// Get the filesystem base path (i.e. "FileSystem/<origin>/<type>",
// without unique part).
FilePath origin_base_path =
- FileSystemPathManager::GetFileSystemBaseDirectoryForOriginAndType(
+ SandboxMountPointProvider::GetFileSystemBaseDirectoryForOriginAndType(
base_path_, origin_identifier, type);
if (origin_base_path.empty()) {
// The directory does not exist.
« no previous file with comments | « webkit/fileapi/file_system_usage_tracker.h ('k') | webkit/fileapi/file_system_usage_tracker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698