Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1334)

Unified Diff: chrome/browser/sync_file_system/syncable_file_system_util.h

Issue 442383002: Move storage-related files from webkit/ to new top-level directory storage/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync_file_system/syncable_file_system_util.h
diff --git a/chrome/browser/sync_file_system/syncable_file_system_util.h b/chrome/browser/sync_file_system/syncable_file_system_util.h
index 25c241163f0d64ce650b5ecfd00aeeac335cc40c..7241b1318f663d13c1c30b5c011219bfefc20042 100644
--- a/chrome/browser/sync_file_system/syncable_file_system_util.h
+++ b/chrome/browser/sync_file_system/syncable_file_system_util.h
@@ -9,9 +9,9 @@
#include "base/callback_forward.h"
#include "base/files/file_path.h"
-#include "webkit/browser/fileapi/file_system_url.h"
+#include "storage/browser/fileapi/file_system_url.h"
-namespace fileapi {
+namespace storage {
class FileSystemContext;
class FileSystemURL;
}
@@ -38,13 +38,13 @@ GURL GetSyncableFileSystemRootURI(const GURL& origin);
// origin: 'http://www.example.com/',
// path: '/foo/bar',
// returns 'filesystem:http://www.example.com/external/syncfs/foo/bar'
-fileapi::FileSystemURL
-CreateSyncableFileSystemURL(const GURL& origin, const base::FilePath& path);
+storage::FileSystemURL CreateSyncableFileSystemURL(const GURL& origin,
+ const base::FilePath& path);
// Creates a special filesystem URL for synchronizing |syncable_url|.
-fileapi::FileSystemURL CreateSyncableFileSystemURLForSync(
- fileapi::FileSystemContext* file_system_context,
- const fileapi::FileSystemURL& syncable_url);
+storage::FileSystemURL CreateSyncableFileSystemURLForSync(
+ storage::FileSystemContext* file_system_context,
+ const storage::FileSystemURL& syncable_url);
// Serializes a given FileSystemURL |url| and sets the serialized string to
// |serialized_url|. If the URL does not represent a syncable filesystem,
@@ -61,8 +61,8 @@ fileapi::FileSystemURL CreateSyncableFileSystemURLForSync(
// 'filesystem:http://www.example.com/external/syncfs/foo\\bar'
// (on others)
// 'filesystem:http://www.example.com/external/syncfs/foo/bar'
-bool SerializeSyncableFileSystemURL(
- const fileapi::FileSystemURL& url, std::string* serialized_url);
+bool SerializeSyncableFileSystemURL(const storage::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
@@ -74,8 +74,8 @@ bool SerializeSyncableFileSystemURL(
// behavior).
//
// See the comment of SerializeSyncableFileSystemURL() for more details.
-bool DeserializeSyncableFileSystemURL(
- const std::string& serialized_url, fileapi::FileSystemURL* url);
+bool DeserializeSyncableFileSystemURL(const std::string& serialized_url,
+ storage::FileSystemURL* url);
// Returns true if V2 is enabled.
bool IsV2Enabled();

Powered by Google App Engine
This is Rietveld 408576698