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

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: 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..ad0d938ab08bc36bf791207db33c9bba0d70534c 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,17 @@ class SpecialStoragePolicy;
namespace fileapi {
class FileSystemContext;
+class FileSystemMountPointProvider;
FileSystemContext* CreateFileSystemContextForTesting(
quota::QuotaManagerProxy* quota_manager_proxy,
const base::FilePath& base_path);
+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