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 3aa9b7e1e5287341301ce17ac709bc9be9d31a8c..98f943926ec4ca80d52642528d4c639e5a40fcbb 100644 |
--- a/chrome/browser/sync_file_system/remote_change_processor.h |
+++ b/chrome/browser/sync_file_system/remote_change_processor.h |
@@ -61,6 +61,13 @@ class RemoteChangeProcessor { |
const fileapi::FileSystemURL& url, |
const fileapi::SyncStatusCallback& callback) = 0; |
+ // Clears all local changes. This should be called when the remote sync |
+ // service reconciled or processed the existing local changes while |
+ // processing a remote change. |
+ virtual void ClearLocalChanges( |
+ const fileapi::FileSystemURL& url, |
+ const base::Closure& completion_callback) = 0; |
+ |
// Records a fake local change so that the change will be processed in the |
// next local sync. |
// This is called when the remote side wants to trigger a local sync |