chromium/google_apis/gaia/oauth2_api_call_flow.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/gaia/oauth2_api_call_flow.h"

#include <string>
#include <vector>

#include "base/functional/bind.h"
#include "base/strings/escape.h"
#include "base/strings/strcat.h"
#include "google_apis/credentials_mode.h"
#include "google_apis/gaia/gaia_auth_util.h"
#include "google_apis/gaia/gaia_urls.h"
#include "net/base/load_flags.h"
#include "net/http/http_request_headers.h"
#include "net/http/http_status_code.h"
#include "services/network/public/cpp/resource_request.h"
#include "services/network/public/cpp/shared_url_loader_factory.h"
#include "services/network/public/cpp/simple_url_loader.h"
#include "services/network/public/mojom/url_response_head.mojom.h"

OAuth2ApiCallFlow::OAuth2ApiCallFlow() :{}

OAuth2ApiCallFlow::~OAuth2ApiCallFlow() = default;

void OAuth2ApiCallFlow::Start(
    scoped_refptr<network::SharedURLLoaderFactory> url_loader_factory,
    const std::string& access_token) {}

net::HttpRequestHeaders OAuth2ApiCallFlow::CreateApiCallHeaders() {}

std::string OAuth2ApiCallFlow::CreateAuthorizationHeaderValue(
    const std::string& access_token) {}

void OAuth2ApiCallFlow::EndApiCall(std::unique_ptr<std::string> body) {}

std::string OAuth2ApiCallFlow::CreateApiCallBodyContentType() {}

std::string OAuth2ApiCallFlow::GetRequestTypeForBody(const std::string& body) {}

bool OAuth2ApiCallFlow::IsExpectedSuccessCode(int code) const {}

void OAuth2ApiCallFlow::OnURLLoadComplete(std::unique_ptr<std::string> body) {}

std::unique_ptr<network::SimpleURLLoader> OAuth2ApiCallFlow::CreateURLLoader(
    const std::string& access_token) {}