| Index: google_apis/gaia/oauth2_api_call_flow_unittest.cc
|
| diff --git a/google_apis/gaia/oauth2_api_call_flow_unittest.cc b/google_apis/gaia/oauth2_api_call_flow_unittest.cc
|
| index bf4192c19f646262bfed9e4c32baac933c07d1e2..1332c97af3b1b75c89d21fa4be9e9411d2140a5d 100644
|
| --- a/google_apis/gaia/oauth2_api_call_flow_unittest.cc
|
| +++ b/google_apis/gaia/oauth2_api_call_flow_unittest.cc
|
| @@ -4,17 +4,18 @@
|
| //
|
| // A complete set of unit tests for OAuth2MintTokenFlow.
|
|
|
| +#include "google_apis/gaia/oauth2_api_call_flow.h"
|
| +
|
| +#include <memory>
|
| #include <string>
|
| #include <vector>
|
|
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "base/message_loop/message_loop.h"
|
| #include "base/time/time.h"
|
| #include "google_apis/gaia/gaia_urls.h"
|
| #include "google_apis/gaia/google_service_auth_error.h"
|
| #include "google_apis/gaia/oauth2_access_token_consumer.h"
|
| #include "google_apis/gaia/oauth2_access_token_fetcher_impl.h"
|
| -#include "google_apis/gaia/oauth2_api_call_flow.h"
|
| #include "net/base/net_errors.h"
|
| #include "net/http/http_request_headers.h"
|
| #include "net/http/http_status_code.h"
|
| @@ -68,11 +69,12 @@ class MockUrlFetcherFactory : public ScopedURLFetcherFactory,
|
| URLFetcher::RequestType request_type,
|
| URLFetcherDelegate* d));
|
|
|
| - scoped_ptr<URLFetcher> CreateURLFetcher(int id,
|
| - const GURL& url,
|
| - URLFetcher::RequestType request_type,
|
| - URLFetcherDelegate* d) override {
|
| - return scoped_ptr<URLFetcher>(
|
| + std::unique_ptr<URLFetcher> CreateURLFetcher(
|
| + int id,
|
| + const GURL& url,
|
| + URLFetcher::RequestType request_type,
|
| + URLFetcherDelegate* d) override {
|
| + return std::unique_ptr<URLFetcher>(
|
| CreateURLFetcherMock(id, url, request_type, d));
|
| }
|
| };
|
|
|