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

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

Issue 12315004: Migrated sync_file_type and file_change from namespace fileapi to sync_file_system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 10 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/remote_change_processor.h
diff --git a/chrome/browser/sync_file_system/remote_change_processor.h b/chrome/browser/sync_file_system/remote_change_processor.h
index 8fb00ad448a17d12bd1bf676f9ea8bbb5ba433a1..ee24eaf0a45eb516e771f96b9c70d5c5bd6d83b1 100644
--- a/chrome/browser/sync_file_system/remote_change_processor.h
+++ b/chrome/browser/sync_file_system/remote_change_processor.h
@@ -15,14 +15,15 @@ class FilePath;
}
namespace fileapi {
-class FileChange;
-class FileChangeList;
class FileSystemURL;
class SyncFileMetadata;
}
namespace sync_file_system {
+class FileChange;
+class FileChangeList;
+
// Represents an interface to process one remote change and applies
// it to the local file system.
// This interface is to be implemented/backed by LocalSyncFileService.
@@ -36,7 +37,7 @@ class RemoteChangeProcessor {
typedef base::Callback<void(
fileapi::SyncStatusCode status,
const fileapi::SyncFileMetadata& metadata,
- const fileapi::FileChangeList& changes)> PrepareChangeCallback;
+ const FileChangeList& changes)> PrepareChangeCallback;
RemoteChangeProcessor() {}
virtual ~RemoteChangeProcessor() {}
@@ -60,7 +61,7 @@ class RemoteChangeProcessor {
// (as we must have checked the change status in PrepareRemoteSync and
// have disabled any further writing).
virtual void ApplyRemoteChange(
- const fileapi::FileChange& change,
+ const FileChange& change,
const base::FilePath& local_path,
const fileapi::FileSystemURL& url,
const fileapi::SyncStatusCallback& callback) = 0;
@@ -79,7 +80,7 @@ class RemoteChangeProcessor {
// resolve a conflict by uploading the local file).
virtual void RecordFakeLocalChange(
const fileapi::FileSystemURL& url,
- const fileapi::FileChange& change,
+ const FileChange& change,
const fileapi::SyncStatusCallback& callback) = 0;
private:

Powered by Google App Engine
This is Rietveld 408576698