OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef WEBKIT_FILEAPI_MOCK_FILE_SYSTEM_OPTIONS_H_ | 5 #ifndef WEBKIT_FILEAPI_MOCK_FILE_SYSTEM_OPTIONS_H_ |
6 #define WEBKIT_FILEAPI_MOCK_FILE_SYSTEM_OPTIONS_H_ | 6 #define WEBKIT_FILEAPI_MOCK_FILE_SYSTEM_OPTIONS_H_ |
7 | 7 |
8 #include "base/basictypes.h" | |
9 #include "base/compiler_specific.h" | |
10 #include "base/memory/scoped_ptr.h" | |
11 #include "webkit/fileapi/file_system_options.h" | 8 #include "webkit/fileapi/file_system_options.h" |
12 | 9 |
13 namespace fileapi { | 10 namespace fileapi { |
14 | 11 |
15 // Returns Filesystem options for incognito mode. | 12 // Returns Filesystem options for incognito mode. |
16 FileSystemOptions CreateIncognitoFileSystemOptions(); | 13 FileSystemOptions CreateIncognitoFileSystemOptions(); |
17 | 14 |
18 // Returns Filesystem options that allow file access. | 15 // Returns Filesystem options that allow file access. |
19 FileSystemOptions CreateAllowFileAccessOptions(); | 16 FileSystemOptions CreateAllowFileAccessOptions(); |
20 | 17 |
21 // Returns Filesystem options that disallow file access. | 18 // Returns Filesystem options that disallow file access. |
22 FileSystemOptions CreateDisallowFileAccessOptions(); | 19 FileSystemOptions CreateDisallowFileAccessOptions(); |
23 | 20 |
24 } // namespace fileapi | 21 } // namespace fileapi |
25 | 22 |
26 #endif // WEBKIT_FILEAPI_MOCK_FILE_SYSTEM_OPTIONS_H_ | 23 #endif // WEBKIT_FILEAPI_MOCK_FILE_SYSTEM_OPTIONS_H_ |
OLD | NEW |