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

Unified Diff: webkit/fileapi/upload_file_system_file_element_reader_unittest.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/upload_file_system_file_element_reader_unittest.cc
diff --git a/webkit/fileapi/upload_file_system_file_element_reader_unittest.cc b/webkit/fileapi/upload_file_system_file_element_reader_unittest.cc
index d9ea38352957aba2642db737268230a992cfacfe..8d90bcd1adaa450873f3d8a53e3f4dcf54ef53a1 100644
--- a/webkit/fileapi/upload_file_system_file_element_reader_unittest.cc
+++ b/webkit/fileapi/upload_file_system_file_element_reader_unittest.cc
@@ -12,6 +12,7 @@
#include "webkit/fileapi/external_mount_points.h"
#include "webkit/fileapi/file_system_context.h"
#include "webkit/fileapi/file_system_file_util.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/file_system_url.h"
@@ -36,12 +37,12 @@ class UploadFileSystemFileElementReaderTest : public testing::Test {
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
file_system_context_ = new fileapi::FileSystemContext(
- fileapi::FileSystemTaskRunners::CreateMockTaskRunners(),
- ExternalMountPoints::CreateRefCounted().get(),
- NULL,
+ FileSystemTaskRunners::CreateMockTaskRunners(),
NULL,
+ ScopedVector<FileSystemMountPointProvider>(),
+ std::vector<MountPoints*>(),
temp_dir_.path(),
- fileapi::CreateDisallowFileAccessOptions());
+ CreateDisallowFileAccessOptions());
file_system_context_->OpenFileSystem(
GURL(kFileSystemURLOrigin),

Powered by Google App Engine
This is Rietveld 408576698