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

Unified Diff: chrome/browser/sync_file_system/drive_backend/sync_worker.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/sync_worker.cc
diff --git a/chrome/browser/sync_file_system/drive_backend/sync_worker.cc b/chrome/browser/sync_file_system/drive_backend/sync_worker.cc
index 1afde61bdd2e92ce5acf661695cecd83e0f9747d..9a3e8bf43d0423eab17defe9d10e83468c9a0483 100644
--- a/chrome/browser/sync_file_system/drive_backend/sync_worker.cc
+++ b/chrome/browser/sync_file_system/drive_backend/sync_worker.cc
@@ -24,7 +24,7 @@
#include "chrome/browser/sync_file_system/drive_backend/uninstall_app_task.h"
#include "chrome/browser/sync_file_system/logger.h"
#include "chrome/browser/sync_file_system/syncable_file_system_util.h"
-#include "webkit/common/fileapi/file_system_util.h"
+#include "storage/common/fileapi/file_system_util.h"
namespace sync_file_system {
@@ -244,12 +244,11 @@ void SyncWorker::PromoteDemotedChanges(const base::Closure& callback) {
callback.Run();
}
-void SyncWorker::ApplyLocalChange(
- const FileChange& local_change,
- const base::FilePath& local_path,
- const SyncFileMetadata& local_metadata,
- const fileapi::FileSystemURL& url,
- const SyncStatusCallback& callback) {
+void SyncWorker::ApplyLocalChange(const FileChange& local_change,
+ const base::FilePath& local_path,
+ const SyncFileMetadata& local_metadata,
+ const storage::FileSystemURL& url,
+ const SyncStatusCallback& callback) {
DCHECK(sequence_checker_.CalledOnValidSequencedThread());
LocalToRemoteSyncer* syncer = new LocalToRemoteSyncer(
@@ -515,7 +514,7 @@ void SyncWorker::DidProcessRemoteChange(RemoteToLocalSyncer* syncer,
if (syncer->sync_action() == SYNC_ACTION_DELETED &&
syncer->url().is_valid() &&
- fileapi::VirtualPath::IsRootPath(syncer->url().path())) {
+ storage::VirtualPath::IsRootPath(syncer->url().path())) {
RegisterOrigin(syncer->url().origin(), base::Bind(&EmptyStatusCallback));
}
should_check_conflict_ = true;
@@ -531,7 +530,7 @@ void SyncWorker::DidApplyLocalChange(LocalToRemoteSyncer* syncer,
if ((status == SYNC_STATUS_OK || status == SYNC_STATUS_RETRY) &&
syncer->url().is_valid() &&
syncer->sync_action() != SYNC_ACTION_NONE) {
- fileapi::FileSystemURL updated_url = syncer->url();
+ storage::FileSystemURL updated_url = syncer->url();
if (!syncer->target_path().empty()) {
updated_url = CreateSyncableFileSystemURL(syncer->url().origin(),
syncer->target_path());

Powered by Google App Engine
This is Rietveld 408576698