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

Side by Side Diff: components/autofill/core/browser/test_autofill_client.h

Issue 2505533002: Http Bad: Add "Learn more" sublabel to warning message and make it clickable (Closed)
Patch Set: rebase Created 4 years 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_ 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_ 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 bool IsAutocompleteEnabled() override; 63 bool IsAutocompleteEnabled() override;
64 void PropagateAutofillPredictions( 64 void PropagateAutofillPredictions(
65 content::RenderFrameHost* rfh, 65 content::RenderFrameHost* rfh,
66 const std::vector<autofill::FormStructure*>& forms) override; 66 const std::vector<autofill::FormStructure*>& forms) override;
67 void DidFillOrPreviewField(const base::string16& autofilled_value, 67 void DidFillOrPreviewField(const base::string16& autofilled_value,
68 const base::string16& profile_full_name) override; 68 const base::string16& profile_full_name) override;
69 void OnFirstUserGestureObserved() override; 69 void OnFirstUserGestureObserved() override;
70 bool IsContextSecure(const GURL& form_origin) override; 70 bool IsContextSecure(const GURL& form_origin) override;
71 bool ShouldShowSigninPromo() override; 71 bool ShouldShowSigninPromo() override;
72 void StartSigninFlow() override; 72 void StartSigninFlow() override;
73 void ShowHttpNotSecureExplanation() override;
73 74
74 void SetPrefs(std::unique_ptr<PrefService> prefs) { 75 void SetPrefs(std::unique_ptr<PrefService> prefs) {
75 prefs_ = std::move(prefs); 76 prefs_ = std::move(prefs);
76 } 77 }
77 78
78 rappor::TestRapporService* test_rappor_service() { 79 rappor::TestRapporService* test_rappor_service() {
79 return rappor_service_.get(); 80 return rappor_service_.get();
80 } 81 }
81 82
82 private: 83 private:
83 // NULL by default. 84 // NULL by default.
84 std::unique_ptr<PrefService> prefs_; 85 std::unique_ptr<PrefService> prefs_;
85 std::unique_ptr<FakeOAuth2TokenService> token_service_; 86 std::unique_ptr<FakeOAuth2TokenService> token_service_;
86 std::unique_ptr<FakeIdentityProvider> identity_provider_; 87 std::unique_ptr<FakeIdentityProvider> identity_provider_;
87 std::unique_ptr<rappor::TestRapporService> rappor_service_; 88 std::unique_ptr<rappor::TestRapporService> rappor_service_;
88 89
89 DISALLOW_COPY_AND_ASSIGN(TestAutofillClient); 90 DISALLOW_COPY_AND_ASSIGN(TestAutofillClient);
90 }; 91 };
91 92
92 } // namespace autofill 93 } // namespace autofill
93 94
94 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_ 95 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698