| Index: chrome/common/net/gaia/oauth2_access_token_consumer.h
|
| diff --git a/chrome/common/net/gaia/oauth2_access_token_consumer.h b/chrome/common/net/gaia/oauth2_access_token_consumer.h
|
| deleted file mode 100644
|
| index 2c5d2a17b5caabeef76e01e509db1c7278c57d76..0000000000000000000000000000000000000000
|
| --- a/chrome/common/net/gaia/oauth2_access_token_consumer.h
|
| +++ /dev/null
|
| @@ -1,31 +0,0 @@
|
| -// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#ifndef CHROME_COMMON_NET_GAIA_OAUTH2_ACCESS_TOKEN_CONSUMER_H_
|
| -#define CHROME_COMMON_NET_GAIA_OAUTH2_ACCESS_TOKEN_CONSUMER_H_
|
| -
|
| -#include <string>
|
| -
|
| -class GoogleServiceAuthError;
|
| -
|
| -namespace base {
|
| -class Time;
|
| -}
|
| -
|
| -// An interface that defines the callbacks for consumers to which
|
| -// OAuth2AccessTokenFetcher can return results.
|
| -class OAuth2AccessTokenConsumer {
|
| - public:
|
| - // Success callback. |access_token| will contain a valid OAuth2 access token.
|
| - // |expiration_time| is the date until which the token can be used. This
|
| - // value has a built-in safety margin, so it can be used as-is.
|
| - virtual void OnGetTokenSuccess(const std::string& access_token,
|
| - const base::Time& expiration_time) {}
|
| - virtual void OnGetTokenFailure(const GoogleServiceAuthError& error) {}
|
| -
|
| - protected:
|
| - virtual ~OAuth2AccessTokenConsumer() {}
|
| -};
|
| -
|
| -#endif // CHROME_COMMON_NET_GAIA_OAUTH2_ACCESS_TOKEN_CONSUMER_H_
|
|
|