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

Unified Diff: chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer_unittest.cc

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/drive_backend/remote_to_local_syncer_unittest.cc
diff --git a/chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer_unittest.cc b/chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer_unittest.cc
index 8ae6b50ce30147c0cdc40cf258fdd8ee24c86387..d556faa7ba97e1001f9992ad512c681472271fd2 100644
--- a/chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer_unittest.cc
+++ b/chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer_unittest.cc
@@ -37,8 +37,7 @@ namespace drive_backend {
namespace {
-fileapi::FileSystemURL URL(const GURL& origin,
- const std::string& path) {
+storage::FileSystemURL URL(const GURL& origin, const std::string& path) {
return CreateSyncableFileSystemURL(
origin, base::FilePath::FromUTF8Unsafe(path));
}
@@ -167,13 +166,13 @@ class RemoteToLocalSyncerTest : public testing::Test {
fake_drive_helper_->DeleteResource(file_id));
}
- void CreateLocalFolder(const fileapi::FileSystemURL& url) {
+ void CreateLocalFolder(const storage::FileSystemURL& url) {
remote_change_processor_->UpdateLocalFileMetadata(
url, FileChange(FileChange::FILE_CHANGE_ADD_OR_UPDATE,
SYNC_FILE_TYPE_DIRECTORY));
}
- void CreateLocalFile(const fileapi::FileSystemURL& url) {
+ void CreateLocalFile(const storage::FileSystemURL& url) {
remote_change_processor_->UpdateLocalFileMetadata(
url, FileChange(FileChange::FILE_CHANGE_ADD_OR_UPDATE,
SYNC_FILE_TYPE_FILE));
@@ -228,7 +227,7 @@ class RemoteToLocalSyncerTest : public testing::Test {
return status;
}
- void AppendExpectedChange(const fileapi::FileSystemURL& url,
+ void AppendExpectedChange(const storage::FileSystemURL& url,
FileChange::ChangeType change_type,
SyncFileType file_type) {
expected_changes_[url].push_back(FileChange(change_type, file_type));

Powered by Google App Engine
This is Rietveld 408576698