| Index: components/autofill/core/browser/test_autofill_client.cc
|
| diff --git a/components/autofill/core/browser/test_autofill_client.cc b/components/autofill/core/browser/test_autofill_client.cc
|
| index 9989e0a87fe5334595377e364c9f3470bf115f36..7df6c300ce4745be653aef47fc8bbaa6ae0a70ec 100644
|
| --- a/components/autofill/core/browser/test_autofill_client.cc
|
| +++ b/components/autofill/core/browser/test_autofill_client.cc
|
| @@ -11,7 +11,8 @@ namespace autofill {
|
| TestAutofillClient::TestAutofillClient()
|
| : token_service_(new FakeOAuth2TokenService()),
|
| identity_provider_(new FakeIdentityProvider(token_service_.get())),
|
| - rappor_service_(new rappor::TestRapporServiceImpl()) {}
|
| + rappor_service_(new rappor::TestRapporServiceImpl()),
|
| + form_origin_(GURL("https://example.test")) {}
|
|
|
| TestAutofillClient::~TestAutofillClient() {
|
| }
|
| @@ -115,9 +116,9 @@ void TestAutofillClient::DidFillOrPreviewField(
|
| void TestAutofillClient::OnFirstUserGestureObserved() {
|
| }
|
|
|
| -bool TestAutofillClient::IsContextSecure(const GURL& form_origin) {
|
| +bool TestAutofillClient::IsContextSecure() {
|
| // Simplified secure context check for tests.
|
| - return form_origin.SchemeIs("https");
|
| + return form_origin_.SchemeIs("https");
|
| }
|
|
|
| bool TestAutofillClient::ShouldShowSigninPromo() {
|
|
|