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

Unified Diff: content/browser/fileapi/browser_file_system_helper.cc

Issue 18344013: fileapi: Rename FileSystemMountProvider to FileSystemBackend (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 7 years, 5 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: content/browser/fileapi/browser_file_system_helper.cc
diff --git a/content/browser/fileapi/browser_file_system_helper.cc b/content/browser/fileapi/browser_file_system_helper.cc
index 49447405e20ac315d9fac92fa05eac4da2db9c55..9d7f6ae6116a5b2fb62d46a9e35558b999fc0958 100644
--- a/content/browser/fileapi/browser_file_system_helper.cc
+++ b/content/browser/fileapi/browser_file_system_helper.cc
@@ -19,7 +19,7 @@
#include "content/public/common/url_constants.h"
#include "webkit/browser/fileapi/external_mount_points.h"
#include "webkit/browser/fileapi/file_permission_policy.h"
-#include "webkit/browser/fileapi/file_system_mount_point_provider.h"
+#include "webkit/browser/fileapi/file_system_backend.h"
#include "webkit/browser/fileapi/file_system_operation_runner.h"
#include "webkit/browser/fileapi/file_system_options.h"
#include "webkit/browser/fileapi/file_system_task_runners.h"
@@ -64,8 +64,8 @@ scoped_refptr<fileapi::FileSystemContext> CreateFileSystemContext(
file_task_runner.get()));
// Setting up additional mount point providers.
- ScopedVector<fileapi::FileSystemMountPointProvider> additional_providers;
- GetContentClient()->browser()->GetAdditionalFileSystemMountPointProviders(
+ ScopedVector<fileapi::FileSystemBackend> additional_providers;
+ GetContentClient()->browser()->GetAdditionalFileSystemBackends(
profile_path,
special_storage_policy,
external_mount_points,
@@ -105,8 +105,8 @@ bool CheckFileSystemPermissionsForProcess(
return false;
}
- fileapi::FileSystemMountPointProvider* mount_point_provider =
- context->GetMountPointProvider(url.type());
+ fileapi::FileSystemBackend* mount_point_provider =
+ context->GetFileSystemBackend(url.type());
if (!mount_point_provider) {
*error = base::PLATFORM_FILE_ERROR_INVALID_URL;
return false;

Powered by Google App Engine
This is Rietveld 408576698