chromium/google_apis/common/request_sender.cc

// Copyright 2012 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/common/request_sender.h"

#include <utility>

#include "base/functional/bind.h"
#include "base/task/sequenced_task_runner.h"
#include "google_apis/common/auth_service.h"
#include "google_apis/common/base_requests.h"

namespace google_apis {

RequestSender::RequestSender(
    std::unique_ptr<AuthServiceInterface> auth_service,
    scoped_refptr<network::SharedURLLoaderFactory> url_loader_factory,
    const scoped_refptr<base::SequencedTaskRunner>& blocking_task_runner,
    const std::string& custom_user_agent,
    const net::NetworkTrafficAnnotationTag& traffic_annotation)
    :{}

RequestSender::~RequestSender() {}

base::RepeatingClosure RequestSender::StartRequestWithAuthRetry(
    std::unique_ptr<AuthenticatedRequestInterface> request) {}

base::RepeatingClosure RequestSender::StartRequestWithAuthRetryInternal(
    AuthenticatedRequestInterface* request) {}

void RequestSender::OnAccessTokenFetched(
    const base::WeakPtr<AuthenticatedRequestInterface>& request,
    ApiErrorCode code,
    const std::string& /* access_token */) {}

void RequestSender::RetryRequest(AuthenticatedRequestInterface* request) {}

void RequestSender::CancelRequest(
    const base::WeakPtr<AuthenticatedRequestInterface>& request) {}

void RequestSender::RequestFinished(AuthenticatedRequestInterface* request) {}

}  // namespace google_apis