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

Unified Diff: components/autofill/core/browser/test_autofill_client.cc

Issue 2672623005: Record Autofill form events specially for nonsecure pages (Closed)
Patch Set: rebase Created 3 years, 11 months 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 9989e0a87fe5334595377e364c9f3470bf115f36..18e660bec8dc01c43cbbcd591076bf46b3101420 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::IsMainUrlSecure() {
+ return is_main_url_secure_;
+}
+
bool TestAutofillClient::ShouldShowSigninPromo() {
return false;
}

Powered by Google App Engine
This is Rietveld 408576698