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

Unified Diff: chrome/browser/extensions/api/identity/gaia_web_auth_flow.cc

Issue 1871713002: Convert //chrome/browser/extensions from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and fix header 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: chrome/browser/extensions/api/identity/gaia_web_auth_flow.cc
diff --git a/chrome/browser/extensions/api/identity/gaia_web_auth_flow.cc b/chrome/browser/extensions/api/identity/gaia_web_auth_flow.cc
index 825c87c28f3250946d880044865813820fe3d535..d98d0fc84960fa841553a026652bdcab56e002e6 100644
--- a/chrome/browser/extensions/api/identity/gaia_web_auth_flow.cc
+++ b/chrome/browser/extensions/api/identity/gaia_web_auth_flow.cc
@@ -231,11 +231,9 @@ void GaiaWebAuthFlow::OnAuthFlowTitleChange(const std::string& title) {
}
}
-scoped_ptr<WebAuthFlow> GaiaWebAuthFlow::CreateWebAuthFlow(GURL url) {
- return scoped_ptr<WebAuthFlow>(new WebAuthFlow(this,
- profile_,
- url,
- WebAuthFlow::INTERACTIVE));
+std::unique_ptr<WebAuthFlow> GaiaWebAuthFlow::CreateWebAuthFlow(GURL url) {
+ return std::unique_ptr<WebAuthFlow>(
+ new WebAuthFlow(this, profile_, url, WebAuthFlow::INTERACTIVE));
}
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698