Index: webkit/fileapi/mock_file_system_options.h |
diff --git a/webkit/fileapi/mock_file_system_options.h b/webkit/fileapi/mock_file_system_options.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..71c149b7cb91fd6fcb957b5465e4a7a6f3556c57 |
--- /dev/null |
+++ b/webkit/fileapi/mock_file_system_options.h |
@@ -0,0 +1,26 @@ |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef WEBKIT_FILEAPI_MOCK_FILE_SYSTEM_OPTIONS_H_ |
+#define WEBKIT_FILEAPI_MOCK_FILE_SYSTEM_OPTIONS_H_ |
+ |
+#include "base/basictypes.h" |
+#include "base/compiler_specific.h" |
+#include "base/memory/scoped_ptr.h" |
+#include "webkit/fileapi/file_system_options.h" |
+ |
+namespace fileapi { |
+ |
+// Returns Filesystem options for incognito mode. |
+FileSystemOptions CreateIncognitoFileSystemOptions(); |
+ |
+// Returns Filesystem options that allow file access. |
+FileSystemOptions CreateAllowFileAccessOptions(); |
+ |
+// Returns Filesystem options that disallow file access. |
+FileSystemOptions CreateDisallowFileAccessOptions(); |
+ |
+} // namespace fileapi |
+ |
+#endif // WEBKIT_FILEAPI_MOCK_FILE_SYSTEM_OPTIONS_H_ |