// 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. #ifndef REMOTING_BASE_GAIA_OAUTH_CLIENT_H_ #define REMOTING_BASE_GAIA_OAUTH_CLIENT_H_ #include "base/containers/queue.h" #include "base/memory/scoped_refptr.h" #include "google_apis/gaia/gaia_oauth_client.h" #include "services/network/public/cpp/shared_url_loader_factory.h" #include "remoting/base/oauth_client.h" namespace remoting { // A wrapper around gaia::GaiaOAuthClient that provides a more // convenient interface, with queueing of requests and a callback // rather than a delegate. class GaiaOAuthClient : public OAuthClient, public gaia::GaiaOAuthClient::Delegate { … }; } // namespace remoting #endif // REMOTING_BASE_GAIA_OAUTH_CLIENT_H_