chromium/remoting/base/gaia_oauth_client.cc

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

#include "remoting/base/gaia_oauth_client.h"

#include <utility>

#include "base/notreached.h"

namespace {
const int kMaxGaiaRetries =;
}  // namespace

namespace remoting {

GaiaOAuthClient::GaiaOAuthClient(
    scoped_refptr<network::SharedURLLoaderFactory> url_loader_factory)
    :{}

GaiaOAuthClient::~GaiaOAuthClient() = default;

void GaiaOAuthClient::GetCredentialsFromAuthCode(
    const gaia::OAuthClientInfo& oauth_client_info,
    const std::string& auth_code,
    bool need_user_email,
    CompletionCallback on_done) {}

void GaiaOAuthClient::OnGetTokensResponse(const std::string& refresh_token,
                                          const std::string& access_token,
                                          int expires_in_seconds) {}

void GaiaOAuthClient::OnRefreshTokenResponse(const std::string& access_token,
                                             int expires_in_seconds) {}

void GaiaOAuthClient::SendResponse(const std::string& user_email,
                                   const std::string& refresh_token) {}

void GaiaOAuthClient::OnGetUserEmailResponse(const std::string& user_email) {}

void GaiaOAuthClient::OnOAuthError() {}

void GaiaOAuthClient::OnNetworkError(int response_code) {}

GaiaOAuthClient::Request::Request(
    const gaia::OAuthClientInfo& oauth_client_info,
    const std::string& auth_code,
    bool need_user_email,
    CompletionCallback on_done) {}

GaiaOAuthClient::Request::Request(Request&& other) = default;

GaiaOAuthClient::Request& GaiaOAuthClient::Request::operator=(Request&& other) =
    default;

GaiaOAuthClient::Request::~Request() = default;

}  // namespace remoting