// 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. #ifndef GOOGLE_APIS_COMMON_AUTH_SERVICE_INTERFACE_H_ #define GOOGLE_APIS_COMMON_AUTH_SERVICE_INTERFACE_H_ #include <string> #include "base/functional/callback.h" #include "google_apis/common/api_error_codes.h" namespace google_apis { class AuthServiceObserver; // Called when fetching of access token is complete. AuthStatusCallback; // This defines an interface for the authentication service which is required // by authenticated requests (AuthenticatedRequestInterface). // All functions must be called on UI thread. class AuthServiceInterface { … }; } // namespace google_apis #endif // GOOGLE_APIS_COMMON_AUTH_SERVICE_INTERFACE_H_