| Index: components/signin/core/browser/signin_client.h
|
| diff --git a/components/signin/core/browser/signin_client.h b/components/signin/core/browser/signin_client.h
|
| index a4910c154dff2e331fe1d7204334d5a43363ab4b..deefb38de9d42aa5854976ddf92c467b1f13fa60 100644
|
| --- a/components/signin/core/browser/signin_client.h
|
| +++ b/components/signin/core/browser/signin_client.h
|
| @@ -5,6 +5,8 @@
|
| #ifndef COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_CLIENT_H_
|
| #define COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_CLIENT_H_
|
|
|
| +#include <memory>
|
| +
|
| #include "base/callback.h"
|
| #include "base/callback_list.h"
|
| #include "base/time/time.h"
|
| @@ -116,9 +118,8 @@ class SigninClient : public KeyedService {
|
| // Execute |callback| if and when there is a network connection.
|
| virtual void DelayNetworkCall(const base::Closure& callback) = 0;
|
|
|
| - // Creates and returns a new platform-specific GaiaAuthFetcher. It is the
|
| - // responsability of the caller to delete the returned object.
|
| - virtual GaiaAuthFetcher* CreateGaiaAuthFetcher(
|
| + // Creates a new platform-specific GaiaAuthFetcher.
|
| + virtual std::unique_ptr<GaiaAuthFetcher> CreateGaiaAuthFetcher(
|
| GaiaAuthConsumer* consumer,
|
| const std::string& source,
|
| net::URLRequestContextGetter* getter) = 0;
|
|
|