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

Unified Diff: chrome/browser/sync_file_system/drive_backend/sync_engine.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_engine.cc
diff --git a/chrome/browser/sync_file_system/drive_backend/sync_engine.cc b/chrome/browser/sync_file_system/drive_backend/sync_engine.cc
index f85825f306c60444a9f94a270f0b9a49c5e13ed3..324459e800575e3d2a8d3598282e937bee834980 100644
--- a/chrome/browser/sync_file_system/drive_backend/sync_engine.cc
+++ b/chrome/browser/sync_file_system/drive_backend/sync_engine.cc
@@ -54,8 +54,8 @@
#include "google_apis/drive/drive_api_url_generator.h"
#include "google_apis/drive/gdata_wapi_url_generator.h"
#include "net/url_request/url_request_context_getter.h"
-#include "webkit/common/blob/scoped_file.h"
-#include "webkit/common/fileapi/file_system_util.h"
+#include "storage/common/blob/scoped_file.h"
+#include "storage/common/fileapi/file_system_util.h"
namespace sync_file_system {
@@ -108,7 +108,7 @@ class SyncEngine::WorkerObserver : public SyncWorkerInterface::Observer {
item_count));
}
- virtual void OnFileStatusChanged(const fileapi::FileSystemURL& url,
+ virtual void OnFileStatusChanged(const storage::FileSystemURL& url,
SyncFileStatus file_status,
SyncAction sync_action,
SyncDirection direction) OVERRIDE {
@@ -459,12 +459,12 @@ void SyncEngine::UninstallOrigin(
void SyncEngine::ProcessRemoteChange(const SyncFileCallback& callback) {
if (GetCurrentState() == REMOTE_SERVICE_DISABLED) {
- callback.Run(SYNC_STATUS_SYNC_DISABLED, fileapi::FileSystemURL());
+ callback.Run(SYNC_STATUS_SYNC_DISABLED, storage::FileSystemURL());
return;
}
base::Closure abort_closure =
- base::Bind(callback, SYNC_STATUS_ABORT, fileapi::FileSystemURL());
+ base::Bind(callback, SYNC_STATUS_ABORT, storage::FileSystemURL());
if (!sync_worker_) {
abort_closure.Run();
@@ -606,12 +606,11 @@ void SyncEngine::PromoteDemotedChanges(const base::Closure& callback) {
relayed_callback));
}
-void SyncEngine::ApplyLocalChange(
- const FileChange& local_change,
- const base::FilePath& local_path,
- const SyncFileMetadata& local_metadata,
- const fileapi::FileSystemURL& url,
- const SyncStatusCallback& callback) {
+void SyncEngine::ApplyLocalChange(const FileChange& local_change,
+ const base::FilePath& local_path,
+ const SyncFileMetadata& local_metadata,
+ const storage::FileSystemURL& url,
+ const SyncStatusCallback& callback) {
if (GetCurrentState() == REMOTE_SERVICE_DISABLED) {
callback.Run(SYNC_STATUS_SYNC_DISABLED);
return;
@@ -762,7 +761,7 @@ void SyncEngine::OnPendingFileListUpdated(int item_count) {
OnRemoteChangeQueueUpdated(item_count));
}
-void SyncEngine::OnFileStatusChanged(const fileapi::FileSystemURL& url,
+void SyncEngine::OnFileStatusChanged(const storage::FileSystemURL& url,
SyncFileStatus file_status,
SyncAction sync_action,
SyncDirection direction) {

Powered by Google App Engine
This is Rietveld 408576698