| Index: chrome/browser/sync_file_system/drive_backend/list_changes_task.h
|
| diff --git a/chrome/browser/sync_file_system/drive_backend/list_changes_task.h b/chrome/browser/sync_file_system/drive_backend/list_changes_task.h
|
| index 7e9255e8e220e7c95c072337960af5823f277a1f..9b47673eccafec5ee3c352246274583d014c127f 100644
|
| --- a/chrome/browser/sync_file_system/drive_backend/list_changes_task.h
|
| +++ b/chrome/browser/sync_file_system/drive_backend/list_changes_task.h
|
| @@ -7,8 +7,9 @@
|
|
|
| #include <stdint.h>
|
|
|
| +#include <memory>
|
| +
|
| #include "base/macros.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "base/memory/scoped_vector.h"
|
| #include "base/memory/weak_ptr.h"
|
| #include "chrome/browser/sync_file_system/drive_backend/sync_task.h"
|
| @@ -34,15 +35,15 @@ class ListChangesTask : public SyncTask {
|
| explicit ListChangesTask(SyncEngineContext* sync_context);
|
| ~ListChangesTask() override;
|
|
|
| - void RunPreflight(scoped_ptr<SyncTaskToken> token) override;
|
| + void RunPreflight(std::unique_ptr<SyncTaskToken> token) override;
|
|
|
| private:
|
| - void StartListing(scoped_ptr<SyncTaskToken> token);
|
| - void DidListChanges(scoped_ptr<SyncTaskToken> token,
|
| + void StartListing(std::unique_ptr<SyncTaskToken> token);
|
| + void DidListChanges(std::unique_ptr<SyncTaskToken> token,
|
| google_apis::DriveApiErrorCode error,
|
| - scoped_ptr<google_apis::ChangeList> change_list);
|
| + std::unique_ptr<google_apis::ChangeList> change_list);
|
| void CheckInChangeList(int64_t largest_change_id,
|
| - scoped_ptr<SyncTaskToken> token);
|
| + std::unique_ptr<SyncTaskToken> token);
|
|
|
| bool IsContextReady();
|
| MetadataDatabase* metadata_database();
|
|
|