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

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

Issue 11411352: Clear syncing flag after a remote or local sync (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: also check REMOTE_SERVICE_DISABLED state Created 8 years 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
« no previous file with comments | « no previous file | chrome/browser/sync_file_system/local_file_sync_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync_file_system/local_file_sync_service.h
diff --git a/chrome/browser/sync_file_system/local_file_sync_service.h b/chrome/browser/sync_file_system/local_file_sync_service.h
index 8efa7489bbb712fd0e8b8e46d61c9fae3382546c..465c50ca3d303ff2004023c887d075371d69b8fd 100644
--- a/chrome/browser/sync_file_system/local_file_sync_service.h
+++ b/chrome/browser/sync_file_system/local_file_sync_service.h
@@ -89,6 +89,10 @@ class LocalFileSyncService
const fileapi::FileSystemURL& url,
const HasPendingLocalChangeCallback& callback);
+ // A local or remote sync has been finished (either successfully or
+ // with an error). Clears the internal sync flag and enable writing for |url|.
+ void ClearSyncFlagForURL(const fileapi::FileSystemURL& url);
+
// Returns the metadata of a remote file pointed by |url|.
virtual void GetLocalFileMetadata(
const fileapi::FileSystemURL& url,
« no previous file with comments | « no previous file | chrome/browser/sync_file_system/local_file_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698