diff options
author | calvinlo@chromium.org <calvinlo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-27 10:59:13 +0000 |
---|---|---|
committer | calvinlo@chromium.org <calvinlo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-27 10:59:13 +0000 |
commit | 6cd128d23c9c576ce449fcc3022ce58876601f49 (patch) | |
tree | b785c7fa93e4c43588ba802a65673eb47d11b196 /webkit/fileapi/syncable/syncable_file_system_util.h | |
parent | 933df47c743604207d9d0836dff94a20eddd24f6 (diff) | |
download | chromium_src-6cd128d23c9c576ce449fcc3022ce58876601f49.zip chromium_src-6cd128d23c9c576ce449fcc3022ce58876601f49.tar.gz chromium_src-6cd128d23c9c576ce449fcc3022ce58876601f49.tar.bz2 |
Final patch to migrate all files under webkit/fileapi/syncable from fileapi namespace to sync_file_system namespace.
BUG=174870
Review URL: https://codereview.chromium.org/12313144
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184928 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/fileapi/syncable/syncable_file_system_util.h')
-rw-r--r-- | webkit/fileapi/syncable/syncable_file_system_util.h | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/webkit/fileapi/syncable/syncable_file_system_util.h b/webkit/fileapi/syncable/syncable_file_system_util.h index 26e446d..14a8ab2 100644 --- a/webkit/fileapi/syncable/syncable_file_system_util.h +++ b/webkit/fileapi/syncable/syncable_file_system_util.h @@ -12,9 +12,12 @@ #include "webkit/storage/webkit_storage_export.h" namespace fileapi { - class FileSystemContext; +class FileSystemURL; class LocalFileSystemOperation; +} + +namespace sync_file_system { // Registers a syncable filesystem with the given |service_name|. WEBKIT_STORAGE_EXPORT bool RegisterSyncableFileSystem( @@ -37,7 +40,7 @@ WEBKIT_STORAGE_EXPORT GURL GetSyncableFileSystemRootURI( // service_name: 'service_name', // path: '/foo/bar', // returns 'filesystem:http://www.example.com/external/service_name/foo/bar' -WEBKIT_STORAGE_EXPORT FileSystemURL CreateSyncableFileSystemURL( +WEBKIT_STORAGE_EXPORT fileapi::FileSystemURL CreateSyncableFileSystemURL( const GURL& origin, const std::string& service_name, const base::FilePath& path); @@ -57,7 +60,7 @@ WEBKIT_STORAGE_EXPORT FileSystemURL CreateSyncableFileSystemURL( // (on others) // 'filesystem:http://www.example.com/external/service_name/foo/bar' WEBKIT_STORAGE_EXPORT bool SerializeSyncableFileSystemURL( - const FileSystemURL& url, std::string* serialized_url); + const fileapi::FileSystemURL& url, std::string* serialized_url); // Deserializes a serialized FileSystem URL string |serialized_url| and sets the // deserialized value to |url|. If the reconstructed object is invalid or does @@ -70,7 +73,7 @@ WEBKIT_STORAGE_EXPORT bool SerializeSyncableFileSystemURL( // // See the comment of SerializeSyncableFileSystemURL() for more details. WEBKIT_STORAGE_EXPORT bool DeserializeSyncableFileSystemURL( - const std::string& serialized_url, FileSystemURL* url); + const std::string& serialized_url, fileapi::FileSystemURL* url); // Returns a new FileSystemOperation that can be used to apply changes @@ -79,9 +82,10 @@ WEBKIT_STORAGE_EXPORT bool DeserializeSyncableFileSystemURL( // * notifies the regular sandboxed quota observer // therefore quota will be updated appropriately without bothering the // change tracker. -WEBKIT_STORAGE_EXPORT LocalFileSystemOperation* -CreateFileSystemOperationForSync(FileSystemContext* file_system_context); +WEBKIT_STORAGE_EXPORT fileapi::LocalFileSystemOperation* + CreateFileSystemOperationForSync( + fileapi::FileSystemContext* file_system_context); -} // namespace fileapi +} // namespace sync_file_system #endif // WEBKIT_FILEAPI_SYNCABLE_SYNCABLE_FILE_SYSTEM_UTIL_H_ |