#include "chrome/browser/sync_file_system/drive_backend/list_changes_task.h"
#include <stddef.h>
#include <utility>
#include <vector>
#include "base/format_macros.h"
#include "base/functional/bind.h"
#include "base/location.h"
#include "base/strings/stringprintf.h"
#include "chrome/browser/sync_file_system/drive_backend/drive_backend_util.h"
#include "chrome/browser/sync_file_system/drive_backend/metadata_database.h"
#include "chrome/browser/sync_file_system/drive_backend/metadata_database.pb.h"
#include "chrome/browser/sync_file_system/drive_backend/sync_engine_context.h"
#include "chrome/browser/sync_file_system/drive_backend/sync_task_manager.h"
#include "chrome/browser/sync_file_system/drive_backend/sync_task_token.h"
#include "chrome/browser/sync_file_system/logger.h"
#include "chrome/browser/sync_file_system/syncable_file_system_util.h"
#include "components/drive/service/drive_service_interface.h"
#include "google_apis/drive/drive_api_parser.h"
namespace sync_file_system {
namespace drive_backend {
ListChangesTask::ListChangesTask(SyncEngineContext* sync_context)
: … { … }
ListChangesTask::~ListChangesTask() = default;
void ListChangesTask::RunPreflight(std::unique_ptr<SyncTaskToken> token) { … }
void ListChangesTask::StartListing(std::unique_ptr<SyncTaskToken> token) { … }
void ListChangesTask::DidListChanges(
std::unique_ptr<SyncTaskToken> token,
google_apis::ApiErrorCode error,
std::unique_ptr<google_apis::ChangeList> change_list) { … }
void ListChangesTask::CheckInChangeList(int64_t largest_change_id,
std::unique_ptr<SyncTaskToken> token) { … }
bool ListChangesTask::IsContextReady() { … }
MetadataDatabase* ListChangesTask::metadata_database() { … }
drive::DriveServiceInterface* ListChangesTask::drive_service() { … }
}
}