chromium/google_apis/drive/files_list_request_runner.cc

// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "google_apis/drive/files_list_request_runner.h"

#include <utility>

#include "base/functional/bind.h"
#include "base/metrics/histogram_functions.h"
#include "base/metrics/histogram_macros.h"
#include "google_apis/common/api_error_codes.h"
#include "google_apis/common/request_sender.h"
#include "google_apis/drive/drive_api_requests.h"

namespace google_apis {

FilesListRequestRunner::FilesListRequestRunner(
    RequestSender* request_sender,
    const google_apis::DriveApiUrlGenerator& url_generator)
    :{}

FilesListRequestRunner::~FilesListRequestRunner() = default;

CancelCallbackOnce FilesListRequestRunner::CreateAndStartWithSizeBackoff(
    int max_results,
    FilesListCorpora corpora,
    const std::string& team_drive_id,
    const std::string& q,
    const std::string& fields,
    FileListCallback callback) {}

void FilesListRequestRunner::OnCancel(CancelCallbackOnce* cancel_callback) {}

void FilesListRequestRunner::OnCompleted(int max_results,
                                         FilesListCorpora corpora,
                                         const std::string& team_drive_id,
                                         const std::string& q,
                                         const std::string& fields,
                                         FileListCallback callback,
                                         CancelCallbackOnce* cancel_callback,
                                         ApiErrorCode error,
                                         std::unique_ptr<FileList> entry) {}

void FilesListRequestRunner::SetRequestCompletedCallbackForTesting(
    base::OnceClosure callback) {}

}  // namespace google_apis