| Index: google_apis/gaia/oauth2_api_call_flow.h
|
| diff --git a/google_apis/gaia/oauth2_api_call_flow.h b/google_apis/gaia/oauth2_api_call_flow.h
|
| index 6cf8f8c315b7ab465296d7d011e9d1da187fc91b..c09209930a8570ad579f62f629817821d5b0602b 100644
|
| --- a/google_apis/gaia/oauth2_api_call_flow.h
|
| +++ b/google_apis/gaia/oauth2_api_call_flow.h
|
| @@ -5,10 +5,10 @@
|
| #ifndef GOOGLE_APIS_GAIA_OAUTH2_API_CALL_FLOW_H_
|
| #define GOOGLE_APIS_GAIA_OAUTH2_API_CALL_FLOW_H_
|
|
|
| +#include <memory>
|
| #include <string>
|
|
|
| #include "base/macros.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "net/url_request/url_fetcher.h"
|
| #include "net/url_request/url_fetcher_delegate.h"
|
| #include "url/gurl.h"
|
| @@ -70,7 +70,7 @@ class OAuth2ApiCallFlow : public net::URLFetcherDelegate {
|
| // Template method CreateApiCallUrl is used to get the URL.
|
| // Template method CreateApiCallBody is used to get the body.
|
| // The URLFether's method will be GET if body is empty, POST otherwise.
|
| - scoped_ptr<net::URLFetcher> CreateURLFetcher(
|
| + std::unique_ptr<net::URLFetcher> CreateURLFetcher(
|
| net::URLRequestContextGetter* context,
|
| const std::string& access_token);
|
|
|
| @@ -79,7 +79,7 @@ class OAuth2ApiCallFlow : public net::URLFetcherDelegate {
|
| void EndApiCall(const net::URLFetcher* source);
|
|
|
| State state_;
|
| - scoped_ptr<net::URLFetcher> url_fetcher_;
|
| + std::unique_ptr<net::URLFetcher> url_fetcher_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(OAuth2ApiCallFlow);
|
| };
|
|
|