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

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: f 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..cda7ca3c89567593d2c3c53c69aa5171d34986f2 100644
--- a/chrome/browser/sync_file_system/remote_change_processor.h
+++ b/chrome/browser/sync_file_system/remote_change_processor.h
@@ -15,13 +15,13 @@ class FilePath;
}
namespace fileapi {
-class FileChange;
-class FileChangeList;
class FileSystemURL;
class SyncFileMetadata;
}
namespace sync_file_system {
nhiroki 2013/02/21 07:00:03 nit: please add a blank line after line 22.
calvinlo 2013/02/21 07:13:27 Done.
+class FileChange;
+class FileChangeList;
// Represents an interface to process one remote change and applies
// it to the local file system.
@@ -36,7 +36,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 +60,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 +79,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