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

Unified Diff: webkit/browser/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: Override 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
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | webkit/browser/fileapi/mock_file_system_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/browser/fileapi/mock_file_system_context.h
diff --git a/webkit/browser/fileapi/mock_file_system_context.h b/webkit/browser/fileapi/mock_file_system_context.h
index 04808997fd30d995bd5d9377f15d5ece56e105b8..2081ff994dcfbe65d457a17f0e9a980c6d9abf8d 100644
--- a/webkit/browser/fileapi/mock_file_system_context.h
+++ b/webkit/browser/fileapi/mock_file_system_context.h
@@ -6,6 +6,7 @@
#define WEBKIT_BROWSER_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
+// |additional_providers| if needed.
+FileSystemContext* CreateFileSystemContextWithAdditionalProvidersForTesting(
+ quota::QuotaManagerProxy* quota_manager_proxy,
+ ScopedVector<FileSystemMountPointProvider> additional_providers,
+ const base::FilePath& base_path);
+
} // namespace fileapi
#endif // WEBKIT_BROWSER_FILEAPI_MOCK_FILE_SYSTEM_CONTEXT_H_
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | webkit/browser/fileapi/mock_file_system_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698