| Index: components/autofill/core/browser/test_autofill_client.h
|
| diff --git a/components/autofill/core/browser/test_autofill_client.h b/components/autofill/core/browser/test_autofill_client.h
|
| index 95311d7b48b402d9abe17a931c488adc248178e7..883f9960e895b1983dcdae82242f1bb5b7b691c1 100644
|
| --- a/components/autofill/core/browser/test_autofill_client.h
|
| +++ b/components/autofill/core/browser/test_autofill_client.h
|
| @@ -68,6 +68,7 @@ class TestAutofillClient : public AutofillClient {
|
| const base::string16& profile_full_name) override;
|
| void OnFirstUserGestureObserved() override;
|
| bool IsContextSecure(const GURL& form_origin) override;
|
| + bool IsMainUrlSecure() override;
|
| bool ShouldShowSigninPromo() override;
|
| void StartSigninFlow() override;
|
| void ShowHttpNotSecureExplanation() override;
|
| @@ -80,12 +81,15 @@ class TestAutofillClient : public AutofillClient {
|
| return rappor_service_.get();
|
| }
|
|
|
| + void set_main_url_secure() { is_main_url_secure_ = true; }
|
| +
|
| private:
|
| // NULL by default.
|
| std::unique_ptr<PrefService> prefs_;
|
| std::unique_ptr<FakeOAuth2TokenService> token_service_;
|
| std::unique_ptr<FakeIdentityProvider> identity_provider_;
|
| std::unique_ptr<rappor::TestRapporServiceImpl> rappor_service_;
|
| + bool is_main_url_secure_ = false;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(TestAutofillClient);
|
| };
|
|
|