| Index: chrome/browser/google_apis/auth_service_interface.h
|
| diff --git a/chrome/browser/google_apis/auth_service_interface.h b/chrome/browser/google_apis/auth_service_interface.h
|
| index e8c239517ed2d091ff0398a3fa693204de79409c..faf9659916d8275d73be6dd67c81a2b0c44b309c 100644
|
| --- a/chrome/browser/google_apis/auth_service_interface.h
|
| +++ b/chrome/browser/google_apis/auth_service_interface.h
|
| @@ -26,15 +26,13 @@ typedef base::Callback<void(GDataErrorCode error,
|
| // All functions must be called on UI thread.
|
| class AuthServiceInterface {
|
| public:
|
| + virtual ~AuthServiceInterface() {}
|
| +
|
| // Adds and removes the observer. AddObserver() should be called before
|
| // Initialize() as it can change the refresh token.
|
| virtual void AddObserver(AuthServiceObserver* observer) = 0;
|
| virtual void RemoveObserver(AuthServiceObserver* observer) = 0;
|
|
|
| - // Initializes the auth service. Starts TokenService to retrieve the
|
| - // refresh token.
|
| - virtual void Initialize(Profile* profile) = 0;
|
| -
|
| // Starts fetching OAuth2 access token from the refresh token.
|
| // |callback| must not be null.
|
| virtual void StartAuthentication(const AuthStatusCallback& callback) = 0;
|
|
|