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

#include "base/strings/string_util.h"
#include "base/strings/stringprintf.h"

namespace {
const char kValidTokenResponseFormat[] =;

const char kValidBoundTokenResponseFormat[] =;
}  // namespace

std::string GetValidTokenResponse(const std::string& token, int expiration) {}

std::string GetValidBoundTokenResponse(const std::string& token,
                                       base::TimeDelta time_to_live,
                                       const std::vector<std::string>& scopes) {}

TestingOAuth2AccessTokenManagerConsumer::
    TestingOAuth2AccessTokenManagerConsumer()
    :{}

TestingOAuth2AccessTokenManagerConsumer::
    ~TestingOAuth2AccessTokenManagerConsumer() {}

void TestingOAuth2AccessTokenManagerConsumer::OnGetTokenSuccess(
    const OAuth2AccessTokenManager::Request* request,
    const OAuth2AccessTokenConsumer::TokenResponse& token_response) {}

void TestingOAuth2AccessTokenManagerConsumer::OnGetTokenFailure(
    const OAuth2AccessTokenManager::Request* request,
    const GoogleServiceAuthError& error) {}