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

Unified 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 side-by-side diff with in-line comments
Download patch
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 5913dedf3bf04f9fc2f7c38acf27b84ee23e0dcf..37d7eb423d25db695a1b1a22643f7466e611d53f 100644
--- a/components/autofill/core/browser/test_autofill_client.cc
+++ b/components/autofill/core/browser/test_autofill_client.cc
@@ -120,6 +120,10 @@ bool TestAutofillClient::IsContextSecure(const GURL& form_origin) {
return form_origin.SchemeIs("https");
}
+bool TestAutofillClient::IsTopLevelURLSecure() {
+ return true;
+}
+
bool TestAutofillClient::ShouldShowSigninPromo() {
return false;
}

Powered by Google App Engine
This is Rietveld 408576698