| Index: chrome/browser/sync/profile_sync_service.h
|
| diff --git a/chrome/browser/sync/profile_sync_service.h b/chrome/browser/sync/profile_sync_service.h
|
| index 79b2a52657a5ed9577560b9a270eaa7320710a91..926a98510d21f5e45c066b6ea6d5683521554b76 100644
|
| --- a/chrome/browser/sync/profile_sync_service.h
|
| +++ b/chrome/browser/sync/profile_sync_service.h
|
| @@ -276,6 +276,15 @@ class ProfileSyncService : public ProfileSyncServiceBase,
|
| void RemoveProtocolEventObserver(
|
| browser_sync::ProtocolEventObserver* observer);
|
|
|
| + // Asynchronously fetches base::Value representations of all sync nodes and
|
| + // returns them to the specified callback on this thread.
|
| + //
|
| + // These requests can live a long time and return when you least expect it.
|
| + // For safety, the callback should be bound to some sort of WeakPtr<> or
|
| + // scoped_refptr<>.
|
| + void GetAllNodes(
|
| + const base::Callback<void(scoped_ptr<base::ListValue>)>& callback);
|
| +
|
| void RegisterAuthNotifications();
|
| void UnregisterAuthNotifications();
|
|
|
|
|