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

Unified Diff: components/autofill/browser/wallet/wallet_signin_helper_unittest.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: components/autofill/browser/wallet/wallet_signin_helper_unittest.cc
diff --git a/components/autofill/browser/wallet/wallet_signin_helper_unittest.cc b/components/autofill/browser/wallet/wallet_signin_helper_unittest.cc
index e574d55e2d77581b42772e6822964654d631db91..20175b1f389fe1c279dd691fd04c5ecc02ad2e4c 100644
--- a/components/autofill/browser/wallet/wallet_signin_helper_unittest.cc
+++ b/components/autofill/browser/wallet/wallet_signin_helper_unittest.cc
@@ -120,9 +120,10 @@ class WalletSigninHelperTest : public testing::Test {
void MockFailedOAuthLoginResponse404() {
SetUpFetcherResponseAndCompleteRequest(
- GaiaUrls::GetInstance()->client_login_url(), 404,
+ GaiaUrls::GetInstance()->client_login_url(),
+ 404,
net::ResponseCookies(),
- "");
+ std::string());
}
void MockSuccessfulGaiaUserInfoResponse(const std::string& username) {
@@ -134,9 +135,10 @@ class WalletSigninHelperTest : public testing::Test {
void MockFailedGaiaUserInfoResponse404() {
SetUpFetcherResponseAndCompleteRequest(
- GaiaUrls::GetInstance()->get_user_info_url(), 404,
+ GaiaUrls::GetInstance()->get_user_info_url(),
+ 404,
net::ResponseCookies(),
- "");
+ std::string());
}
void MockSuccessfulGetAccountInfoResponse(const std::string& username) {
@@ -150,23 +152,24 @@ class WalletSigninHelperTest : public testing::Test {
void MockFailedGetAccountInfoResponse404() {
SetUpFetcherResponseAndCompleteRequest(
- signin_helper_->GetGetAccountInfoUrlForTesting(), 404,
+ signin_helper_->GetGetAccountInfoUrlForTesting(),
+ 404,
net::ResponseCookies(),
- "");
+ std::string());
}
void MockSuccessfulPassiveAuthUrlMergeAndRedirectResponse() {
- SetUpFetcherResponseAndCompleteRequest(
- wallet::GetPassiveAuthUrl().spec(), 200,
- net::ResponseCookies(),
- "");
+ SetUpFetcherResponseAndCompleteRequest(wallet::GetPassiveAuthUrl().spec(),
+ 200,
+ net::ResponseCookies(),
+ std::string());
}
void MockFailedPassiveAuthUrlMergeAndRedirectResponse404() {
- SetUpFetcherResponseAndCompleteRequest(
- wallet::GetPassiveAuthUrl().spec(), 404,
- net::ResponseCookies(),
- "");
+ SetUpFetcherResponseAndCompleteRequest(wallet::GetPassiveAuthUrl().spec(),
+ 404,
+ net::ResponseCookies(),
+ std::string());
}
WalletSigninHelperForTesting::State state() const {

Powered by Google App Engine
This is Rietveld 408576698