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

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

Issue 11421197: Implement SyncFileSystemService::GetFileSyncStatus method (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: chrome/browser/sync_file_system/sync_file_system_service.h
diff --git a/chrome/browser/sync_file_system/sync_file_system_service.h b/chrome/browser/sync_file_system/sync_file_system_service.h
index 798c541cae92a2e452c81745b6b8d5f74ae7421e..25af7b2f3653a5a257140f8d299e0246a8a3eed3 100644
--- a/chrome/browser/sync_file_system/sync_file_system_service.h
+++ b/chrome/browser/sync_file_system/sync_file_system_service.h
@@ -57,6 +57,11 @@ class SyncFileSystemService
const fileapi::FileSystemURL& url,
const fileapi::ConflictFileInfoCallback& callback);
+ // Returns the file |url|'s sync status.
+ void GetFileSyncStatus(
+ const fileapi::FileSystemURL& url,
+ const fileapi::SyncFileStatusCallback& callback);
+
void AddSyncEventObserver(SyncEventObserver* observer);
void RemoveSyncEventObserver(SyncEventObserver* observer);
@@ -107,6 +112,9 @@ class SyncFileSystemService
void DidProcessLocalChange(fileapi::SyncStatusCode status,
const fileapi::FileSystemURL& url);
+ void DidGetLocalChangeStatus(const fileapi::SyncFileStatusCallback& callback,
+ bool has_pending_local_changes);
+
void OnSyncEnabledForRemoteSync();
// RemoteFileSyncService::Observer overrides.

Powered by Google App Engine
This is Rietveld 408576698