Index: webkit/fileapi/mock_file_system_context.h |
diff --git a/webkit/fileapi/mock_file_system_context.h b/webkit/fileapi/mock_file_system_context.h |
index 4b59d4e5e0685c116606512f4a6e4a8c8ed1ab02..6788afa0508d10d8d605895ce90cabd5a4a2273b 100644 |
--- a/webkit/fileapi/mock_file_system_context.h |
+++ b/webkit/fileapi/mock_file_system_context.h |
@@ -6,6 +6,7 @@ |
#define WEBKIT_FILEAPI_MOCK_FILE_SYSTEM_CONTEXT_H_ |
#include "base/files/file_path.h" |
+#include "base/memory/scoped_vector.h" |
namespace quota { |
class QuotaManagerProxy; |
@@ -15,11 +16,19 @@ class SpecialStoragePolicy; |
namespace fileapi { |
class FileSystemContext; |
+class FileSystemMountPointProvider; |
FileSystemContext* CreateFileSystemContextForTesting( |
quota::QuotaManagerProxy* quota_manager_proxy, |
const base::FilePath& base_path); |
+// The caller is responsible for including TestMountPointProvider in |
+// |additiona_providers| if needed. |
Lei Zhang
2013/05/24 22:50:44
typo
vandebo (ex-Chrome)
2013/05/29 06:09:15
Done.
|
+FileSystemContext* CreateFileSystemContextWithAdditionalProvidersForTesting( |
+ quota::QuotaManagerProxy* quota_manager_proxy, |
+ ScopedVector<FileSystemMountPointProvider> additional_providers, |
+ const base::FilePath& base_path); |
+ |
} // namespace fileapi |
#endif // WEBKIT_FILEAPI_MOCK_FILE_SYSTEM_CONTEXT_H_ |