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

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

Issue 2478043002: HTTP Bad: Add warning message to autofill dropdown for http sites (Closed)
Patch Set: add test to AutofillManagerTest Created 4 years, 1 month 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 #include "components/autofill/core/browser/test_autofill_client.h" 5 #include "components/autofill/core/browser/test_autofill_client.h"
6 6
7 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" 7 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h"
8 8
9 namespace autofill { 9 namespace autofill {
10 10
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 } 113 }
114 114
115 void TestAutofillClient::OnFirstUserGestureObserved() { 115 void TestAutofillClient::OnFirstUserGestureObserved() {
116 } 116 }
117 117
118 bool TestAutofillClient::IsContextSecure(const GURL& form_origin) { 118 bool TestAutofillClient::IsContextSecure(const GURL& form_origin) {
119 // Simplified secure context check for tests. 119 // Simplified secure context check for tests.
120 return form_origin.SchemeIs("https"); 120 return form_origin.SchemeIs("https");
121 } 121 }
122 122
123 bool TestAutofillClient::IsTopLevelURLSecure() {
124 return true;
125 }
126
123 bool TestAutofillClient::ShouldShowSigninPromo() { 127 bool TestAutofillClient::ShouldShowSigninPromo() {
124 return false; 128 return false;
125 } 129 }
126 130
127 void TestAutofillClient::StartSigninFlow() {} 131 void TestAutofillClient::StartSigninFlow() {}
128 132
129 } // namespace autofill 133 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698