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

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

Issue 15959006: Deprecate FileSystemMountPointProvider::GetFileSystemRootPathOnFileThread (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 b7c2a4f5c13e7c853389ddaa358bf85ccb3ae759..85c5df6ed52fb1a508dedb5be370fba17bc3e534 100644
--- a/webkit/browser/fileapi/sandbox_mount_point_provider.cc
+++ b/webkit/browser/fileapi/sandbox_mount_point_provider.cc
@@ -242,23 +242,6 @@ void SandboxMountPointProvider::ValidateFileSystemRoot(
file_system_usage_cache_.get()));
};
-base::FilePath
-SandboxMountPointProvider::GetFileSystemRootPathOnFileThread(
- const FileSystemURL& url,
- bool create) {
- if (file_system_options_.is_incognito() &&
- !(enable_temporary_file_system_in_incognito_ &&
- url.type() == kFileSystemTypeTemporary)) {
- // TODO(kinuko): return an isolated temporary directory.
- return base::FilePath();
- }
-
- if (!IsAllowedScheme(url.origin()))
- return base::FilePath();
-
- return GetBaseDirectoryForOriginAndType(url.origin(), url.type(), create);
-}
-
FileSystemFileUtil* SandboxMountPointProvider::GetFileUtil(
FileSystemType type) {
DCHECK(sandbox_file_util_.get());
« no previous file with comments | « webkit/browser/fileapi/sandbox_mount_point_provider.h ('k') | webkit/browser/fileapi/test_mount_point_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698