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_SYNCABLE_SYNCABLE_FILE_SYSTEM_UTIL_H_ | 5 #ifndef WEBKIT_BROWSER_FILEAPI_SYNCABLE_SYNCABLE_FILE_SYSTEM_UTIL_H_ |
6 #define WEBKIT_FILEAPI_SYNCABLE_SYNCABLE_FILE_SYSTEM_UTIL_H_ | 6 #define WEBKIT_BROWSER_FILEAPI_SYNCABLE_SYNCABLE_FILE_SYSTEM_UTIL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
11 #include "webkit/browser/fileapi/file_system_url.h" | 11 #include "webkit/browser/fileapi/file_system_url.h" |
12 #include "webkit/storage/webkit_storage_export.h" | 12 #include "webkit/storage/webkit_storage_export.h" |
13 | 13 |
14 namespace fileapi { | 14 namespace fileapi { |
15 class FileSystemContext; | 15 class FileSystemContext; |
16 class FileSystemURL; | 16 class FileSystemURL; |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 // Returns true if we allow directory operations in Sync FileSystem API. | 93 // Returns true if we allow directory operations in Sync FileSystem API. |
94 // It is disabled by default but can be overridden by a command-line switch | 94 // It is disabled by default but can be overridden by a command-line switch |
95 // (--enable-syncfs-directory-operations) or by calling | 95 // (--enable-syncfs-directory-operations) or by calling |
96 // SetEnableSyncFSDirectoryOperation(). | 96 // SetEnableSyncFSDirectoryOperation(). |
97 // TODO(nhiroki): This method should be used only for testing and should go | 97 // TODO(nhiroki): This method should be used only for testing and should go |
98 // away when we fully support directory operations. (http://crbug.com/161442) | 98 // away when we fully support directory operations. (http://crbug.com/161442) |
99 WEBKIT_STORAGE_EXPORT bool IsSyncFSDirectoryOperationEnabled(); | 99 WEBKIT_STORAGE_EXPORT bool IsSyncFSDirectoryOperationEnabled(); |
100 | 100 |
101 } // namespace sync_file_system | 101 } // namespace sync_file_system |
102 | 102 |
103 #endif // WEBKIT_FILEAPI_SYNCABLE_SYNCABLE_FILE_SYSTEM_UTIL_H_ | 103 #endif // WEBKIT_BROWSER_FILEAPI_SYNCABLE_SYNCABLE_FILE_SYSTEM_UTIL_H_ |
OLD | NEW |