| 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 c97e95c6551ef5b4efdfe42a202dd3b639d0b468..5913dedf3bf04f9fc2f7c38acf27b84ee23e0dcf 100644
|
| --- a/components/autofill/core/browser/test_autofill_client.cc
|
| +++ b/components/autofill/core/browser/test_autofill_client.cc
|
| @@ -11,9 +11,7 @@ namespace autofill {
|
| TestAutofillClient::TestAutofillClient()
|
| : token_service_(new FakeOAuth2TokenService()),
|
| identity_provider_(new FakeIdentityProvider(token_service_.get())),
|
| - rappor_service_(new rappor::TestRapporService()),
|
| - is_context_secure_(true) {
|
| -}
|
| + rappor_service_(new rappor::TestRapporService()) {}
|
|
|
| TestAutofillClient::~TestAutofillClient() {
|
| }
|
| @@ -118,7 +116,8 @@ void TestAutofillClient::OnFirstUserGestureObserved() {
|
| }
|
|
|
| bool TestAutofillClient::IsContextSecure(const GURL& form_origin) {
|
| - return is_context_secure_;
|
| + // Simplified secure context check for tests.
|
| + return form_origin.SchemeIs("https");
|
| }
|
|
|
| bool TestAutofillClient::ShouldShowSigninPromo() {
|
|
|