| 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 {
|
|
|