| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_BROWSER_FILEAPI_SYNCABLE_SYNCABLE_FILE_SYSTEM_UTIL_H_ | 5 #ifndef WEBKIT_BROWSER_FILEAPI_SYNCABLE_SYNCABLE_FILE_SYSTEM_UTIL_H_ |
| 6 #define WEBKIT_BROWSER_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/browser/webkit_storage_browser_export.h" | 12 #include "webkit/browser/webkit_storage_browser_export.h" |
| 13 | 13 |
| 14 namespace fileapi { | 14 namespace fileapi { |
| 15 class FileSystemContext; | 15 class FileSystemContext; |
| 16 class FileSystemURL; | 16 class FileSystemURL; |
| 17 class LocalFileSystemOperation; | |
| 18 } | 17 } |
| 19 | 18 |
| 20 namespace sync_file_system { | 19 namespace sync_file_system { |
| 21 | 20 |
| 22 // Registers a syncable filesystem. | 21 // Registers a syncable filesystem. |
| 23 WEBKIT_STORAGE_BROWSER_EXPORT void RegisterSyncableFileSystem(); | 22 WEBKIT_STORAGE_BROWSER_EXPORT void RegisterSyncableFileSystem(); |
| 24 | 23 |
| 25 // Revokes the syncable filesystem. | 24 // Revokes the syncable filesystem. |
| 26 WEBKIT_STORAGE_BROWSER_EXPORT void RevokeSyncableFileSystem(); | 25 WEBKIT_STORAGE_BROWSER_EXPORT void RevokeSyncableFileSystem(); |
| 27 | 26 |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 | 96 |
| 98 private: | 97 private: |
| 99 bool was_enabled_; | 98 bool was_enabled_; |
| 100 | 99 |
| 101 DISALLOW_COPY_AND_ASSIGN(ScopedEnableSyncFSDirectoryOperation); | 100 DISALLOW_COPY_AND_ASSIGN(ScopedEnableSyncFSDirectoryOperation); |
| 102 }; | 101 }; |
| 103 | 102 |
| 104 } // namespace sync_file_system | 103 } // namespace sync_file_system |
| 105 | 104 |
| 106 #endif // WEBKIT_BROWSER_FILEAPI_SYNCABLE_SYNCABLE_FILE_SYSTEM_UTIL_H_ | 105 #endif // WEBKIT_BROWSER_FILEAPI_SYNCABLE_SYNCABLE_FILE_SYSTEM_UTIL_H_ |
| OLD | NEW |