Index: chrome/browser/sync_file_system/local_file_sync_service.cc |
diff --git a/chrome/browser/sync_file_system/local_file_sync_service.cc b/chrome/browser/sync_file_system/local_file_sync_service.cc |
index db004e61d7e7addb6c831aa7aa0ae9fb7dd2df50..23ac5f6d675d6a4f74146f51347d87889aa512f4 100644 |
--- a/chrome/browser/sync_file_system/local_file_sync_service.cc |
+++ b/chrome/browser/sync_file_system/local_file_sync_service.cc |
@@ -182,6 +182,14 @@ void LocalFileSyncService::ApplyRemoteChange( |
change, local_path, url, callback); |
} |
+void LocalFileSyncService::ClearLocalChanges( |
+ const fileapi::FileSystemURL& url, |
+ const base::Closure& completion_callback) { |
+ DCHECK(ContainsKey(origin_to_contexts_, url.origin())); |
+ sync_context_->ClearChangesForURL(origin_to_contexts_[url.origin()], |
+ url, completion_callback); |
+} |
+ |
void LocalFileSyncService::RecordFakeLocalChange( |
const fileapi::FileSystemURL& url, |
const fileapi::FileChange& change, |