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

Unified Diff: webkit/fileapi/syncable/canned_syncable_file_system.cc

Issue 14096022: Make MountPointProvider pluggable from outside webkit/fileapi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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/syncable/canned_syncable_file_system.cc
diff --git a/webkit/fileapi/syncable/canned_syncable_file_system.cc b/webkit/fileapi/syncable/canned_syncable_file_system.cc
index 89081d725f8a2c38e6e9babb868055fa6d65fca4..c363b6a6189f146e2df352a6b4394a05582fe9e6 100644
--- a/webkit/fileapi/syncable/canned_syncable_file_system.cc
+++ b/webkit/fileapi/syncable/canned_syncable_file_system.cc
@@ -15,6 +15,7 @@
#include "webkit/blob/mock_blob_url_request_context.h"
#include "webkit/fileapi/external_mount_points.h"
#include "webkit/fileapi/file_system_context.h"
+#include "webkit/fileapi/file_system_mount_point_provider.h"
#include "webkit/fileapi/file_system_operation_context.h"
#include "webkit/fileapi/file_system_task_runners.h"
#include "webkit/fileapi/local_file_system_operation.h"
@@ -210,9 +211,9 @@ void CannedSyncableFileSystem::SetUp() {
io_task_runner_,
file_task_runner_,
file_task_runner_)),
- fileapi::ExternalMountPoints::CreateRefCounted().get(),
- storage_policy,
quota_manager_->proxy(),
+ ScopedVector<fileapi::FileSystemMountPointProvider>(),
+ std::vector<fileapi::MountPoints*>(),
data_dir_.path(),
fileapi::CreateAllowFileAccessOptions());

Powered by Google App Engine
This is Rietveld 408576698