| Index: chrome/browser/sync_file_system/remote_file_sync_service.h
|
| diff --git a/chrome/browser/sync_file_system/remote_file_sync_service.h b/chrome/browser/sync_file_system/remote_file_sync_service.h
|
| index 4d0245887a294e33c697f50cb4f2c4f4ac2b4b0c..7c98d6d189ca114ca14d5f3b364bdf0a257a0fae 100644
|
| --- a/chrome/browser/sync_file_system/remote_file_sync_service.h
|
| +++ b/chrome/browser/sync_file_system/remote_file_sync_service.h
|
| @@ -120,6 +120,9 @@ class RemoteFileSyncService {
|
| webkit_blob::ScopedFile downloaded)>
|
| DownloadVersionCallback;
|
|
|
| + // For DumpFile.
|
| + typedef base::Callback<void(scoped_ptr<base::ListValue> list)> ListCallback;
|
| +
|
| // Creates an initialized RemoteFileSyncService for backend |version|
|
| // for |context|.
|
| static scoped_ptr<RemoteFileSyncService> CreateForBrowserContext(
|
| @@ -191,8 +194,9 @@ class RemoteFileSyncService {
|
| // corresponding sync statuses.
|
| virtual void GetOriginStatusMap(OriginStatusMap* status_map) = 0;
|
|
|
| - // Returns file metadata for |origin|.
|
| - virtual scoped_ptr<base::ListValue> DumpFiles(const GURL& origin) = 0;
|
| + // Returns file metadata for |origin| to call |callback|.
|
| + virtual void DumpFiles(const GURL& origin,
|
| + const ListCallback& callback) = 0;
|
|
|
| // Returns the dump of internal database.
|
| virtual scoped_ptr<base::ListValue> DumpDatabase() = 0;
|
|
|