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

Unified Diff: chrome/browser/sync_file_system/drive_backend/sync_worker.h

Issue 294893005: [SyncFS] Make GetOriginStatusMap asynchronous (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Refactoring Created 6 years, 7 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/drive_backend/sync_worker.h
diff --git a/chrome/browser/sync_file_system/drive_backend/sync_worker.h b/chrome/browser/sync_file_system/drive_backend/sync_worker.h
index 71ff888fb6b0ac97aab5d37865e8ec45710f5df3..36742c77a6291d561df0cec7dc0d442ffad7ca4a 100644
--- a/chrome/browser/sync_file_system/drive_backend/sync_worker.h
+++ b/chrome/browser/sync_file_system/drive_backend/sync_worker.h
@@ -100,7 +100,8 @@ class SyncWorker : public SyncTaskManager::Client {
void SetRemoteChangeProcessor(
RemoteChangeProcessorOnWorker* remote_change_processor_on_worker);
RemoteServiceState GetCurrentState() const;
- void GetOriginStatusMap(RemoteFileSyncService::OriginStatusMap* status_map);
+ void GetOriginStatusMap(
+ const RemoteFileSyncService::StatusMapCallback& callback);
scoped_ptr<base::ListValue> DumpFiles(const GURL& origin);
scoped_ptr<base::ListValue> DumpDatabase();
void SetSyncEnabled(bool enabled);

Powered by Google App Engine
This is Rietveld 408576698