Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(515)

Unified Diff: google_apis/gaia/ubertoken_fetcher.h

Issue 2757873002: Change SigninClient::CreateGaiaAuthFetcher return type to unique_ptr (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/signin/core/browser/test_signin_client.cc ('k') | google_apis/gaia/ubertoken_fetcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/gaia/ubertoken_fetcher.h
diff --git a/google_apis/gaia/ubertoken_fetcher.h b/google_apis/gaia/ubertoken_fetcher.h
index 6fef55b6c932f56dcb220f4d4cad1b99770c49c1..b5968af5d6d91ab093727ad92cef1a0b144b494d 100644
--- a/google_apis/gaia/ubertoken_fetcher.h
+++ b/google_apis/gaia/ubertoken_fetcher.h
@@ -28,10 +28,10 @@ namespace net {
class URLRequestContextGetter;
}
-typedef base::Callback<GaiaAuthFetcher*(GaiaAuthConsumer*,
- const std::string&,
- net::URLRequestContextGetter*)>
- GaiaAuthFetcherFactory;
+using GaiaAuthFetcherFactory = base::Callback<std::unique_ptr<GaiaAuthFetcher>(
+ GaiaAuthConsumer*,
+ const std::string&,
+ net::URLRequestContextGetter*)>;
// Callback for the |UbertokenFetcher| class.
class UbertokenConsumer {
« no previous file with comments | « components/signin/core/browser/test_signin_client.cc ('k') | google_apis/gaia/ubertoken_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698