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

Unified Diff: google_apis/gaia/account_tracker.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/account_tracker.h
diff --git a/google_apis/gaia/account_tracker.h b/google_apis/gaia/account_tracker.h
index c0b65ff48f52937963527c9b3c21f611d03132ee..daf9ddb65f258618e2cb98af43572ee1c6ff95ce 100644
--- a/google_apis/gaia/account_tracker.h
+++ b/google_apis/gaia/account_tracker.h
@@ -6,10 +6,10 @@
#define GOOGLE_APIS_GAIA_ACCOUNT_TRACKER_H_
#include <map>
+#include <memory>
#include <string>
#include <vector>
-#include "base/memory/scoped_ptr.h"
#include "base/observer_list.h"
#include "google_apis/gaia/gaia_oauth_client.h"
#include "google_apis/gaia/identity_provider.h"
@@ -149,8 +149,8 @@ class AccountIdFetcher : public OAuth2TokenService::Consumer,
AccountTracker* tracker_;
const std::string account_key_;
- scoped_ptr<OAuth2TokenService::Request> login_token_request_;
- scoped_ptr<gaia::GaiaOAuthClient> gaia_oauth_client_;
+ std::unique_ptr<OAuth2TokenService::Request> login_token_request_;
+ std::unique_ptr<gaia::GaiaOAuthClient> gaia_oauth_client_;
};
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698