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

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

Issue 294893005: [SyncFS] Make GetOriginStatusMap asynchronous (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Work for nits 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/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 97f794bd2de5866e0706646491be52574af990d0..03288ec086dbcccc9a9e9078813953abcbafd14e 100644
--- a/chrome/browser/sync_file_system/sync_file_system_service.h
+++ b/chrome/browser/sync_file_system/sync_file_system_service.h
@@ -59,7 +59,8 @@ class SyncFileSystemService
const SyncStatusCallback& callback);
SyncServiceState GetSyncServiceState();
- void GetExtensionStatusMap(std::map<GURL, std::string>* status_map);
+ void GetExtensionStatusMap(
+ const RemoteFileSyncService::StatusMapCallback& callback);
void DumpFiles(const GURL& origin, const DumpFilesCallback& callback);
void DumpDatabase(const DumpFilesCallback& callback);
@@ -113,6 +114,14 @@ class SyncFileSystemService
scoped_ptr<base::ListValue> v1list,
scoped_ptr<base::ListValue> v2list);
+ void DidGetExtensionStatusMap(
+ const RemoteFileSyncService::StatusMapCallback& callback,
+ const RemoteFileSyncService::OriginStatusMap& status_map);
+ void DidGetV2ExtensionStatusMap(
+ const RemoteFileSyncService::StatusMapCallback& callback,
+ const RemoteFileSyncService::OriginStatusMap& status_map_v1,
+ const RemoteFileSyncService::OriginStatusMap& status_map_v2);
+
// Overrides sync_enabled_ setting. This should be called only by tests.
void SetSyncEnabledForTesting(bool enabled);

Powered by Google App Engine
This is Rietveld 408576698