Chromium Code Reviews| Index: components/browser_sync/browser/profile_sync_service.h |
| diff --git a/components/browser_sync/browser/profile_sync_service.h b/components/browser_sync/browser/profile_sync_service.h |
| index f6c426846c7385446f3a789785bec1c64988ead9..0d9bad5774eb6ad16c89d441c580e8c816a4ee3d 100644 |
| --- a/components/browser_sync/browser/profile_sync_service.h |
| +++ b/components/browser_sync/browser/profile_sync_service.h |
| @@ -803,6 +803,14 @@ class ProfileSyncService : public sync_driver::SyncService, |
| // Called when a SetupInProgressHandle issued by this instance is destroyed. |
| virtual void OnSetupInProgressHandleDestroyed(); |
| + // Returns a ListValue representing all nodes for the specified types through |
| + // |callback| on this thread. |
| + void GetAllNodesForTypes( |
| + syncer::ModelTypeSet types, |
| + scoped_refptr<base::SequencedTaskRunner> task_runner, |
|
maxbogue
2016/08/25 23:38:59
You don't need to pass a task runner here.
Gang Wu
2016/08/26 16:48:04
Done.
|
| + base::Callback<void(const std::vector<syncer::ModelType>& type, |
| + ScopedVector<base::ListValue>)> callback); |
| + |
| // This profile's SyncClient, which abstracts away non-Sync dependencies and |
| // the Sync API component factory. |
| std::unique_ptr<sync_driver::SyncClient> sync_client_; |