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

Unified Diff: google_apis/gaia/oauth2_mint_token_flow.cc

Issue 13145003: Rewrite std::string("") to std::string(), Linux edition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ugh Created 7 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/oauth2_mint_token_flow.cc
diff --git a/google_apis/gaia/oauth2_mint_token_flow.cc b/google_apis/gaia/oauth2_mint_token_flow.cc
index 42fc4ef09844357414df9f1e64bd5e5ea59dbcbb..169d1871f9a1d70f13cffc1c5da8bd0b7f4a1976 100644
--- a/google_apis/gaia/oauth2_mint_token_flow.cc
+++ b/google_apis/gaia/oauth2_mint_token_flow.cc
@@ -89,17 +89,16 @@ OAuth2MintTokenFlow::Parameters::Parameters(
OAuth2MintTokenFlow::Parameters::~Parameters() {}
-OAuth2MintTokenFlow::OAuth2MintTokenFlow(
- URLRequestContextGetter* context,
- Delegate* delegate,
- const Parameters& parameters)
- : OAuth2ApiCallFlow(
- context, parameters.login_refresh_token,
- "", std::vector<std::string>()),
+OAuth2MintTokenFlow::OAuth2MintTokenFlow(URLRequestContextGetter* context,
+ Delegate* delegate,
+ const Parameters& parameters)
+ : OAuth2ApiCallFlow(context,
+ parameters.login_refresh_token,
+ std::string(),
+ std::vector<std::string>()),
delegate_(delegate),
parameters_(parameters),
- ALLOW_THIS_IN_INITIALIZER_LIST(weak_factory_(this)) {
-}
+ ALLOW_THIS_IN_INITIALIZER_LIST(weak_factory_(this)) {}
OAuth2MintTokenFlow::~OAuth2MintTokenFlow() { }
« no previous file with comments | « google_apis/gaia/oauth2_api_call_flow_unittest.cc ('k') | google_apis/gaia/oauth2_mint_token_flow_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698