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

Unified Diff: google_apis/gaia/ubertoken_fetcher.h

Issue 1873663002: Convert //google_apis from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
Index: google_apis/gaia/ubertoken_fetcher.h
diff --git a/google_apis/gaia/ubertoken_fetcher.h b/google_apis/gaia/ubertoken_fetcher.h
index 5ff73bd41a0ae787a9a8ce3f09a867381ae2c915..6fef55b6c932f56dcb220f4d4cad1b99770c49c1 100644
--- a/google_apis/gaia/ubertoken_fetcher.h
+++ b/google_apis/gaia/ubertoken_fetcher.h
@@ -5,8 +5,9 @@
#ifndef GOOGLE_APIS_GAIA_UBERTOKEN_FETCHER_H_
#define GOOGLE_APIS_GAIA_UBERTOKEN_FETCHER_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/timer/timer.h"
#include "google_apis/gaia/gaia_auth_consumer.h"
#include "google_apis/gaia/oauth2_token_service.h"
@@ -87,8 +88,8 @@ class UbertokenFetcher : public GaiaAuthConsumer,
std::string source_;
net::URLRequestContextGetter* request_context_;
GaiaAuthFetcherFactory gaia_auth_fetcher_factory_;
- scoped_ptr<GaiaAuthFetcher> gaia_auth_fetcher_;
- scoped_ptr<OAuth2TokenService::Request> access_token_request_;
+ std::unique_ptr<GaiaAuthFetcher> gaia_auth_fetcher_;
+ std::unique_ptr<OAuth2TokenService::Request> access_token_request_;
std::string account_id_;
std::string access_token_;
int retry_number_;

Powered by Google App Engine
This is Rietveld 408576698