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

Unified Diff: webkit/fileapi/mock_file_system_context.h

Issue 15624003: Validate image files before writing them to media galleries. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments and rebase 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/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_

Powered by Google App Engine
This is Rietveld 408576698