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

Unified Diff: ios/chrome/browser/ui/autofill/autofill_client_ios.mm

Issue 1136473006: Don't autofill credit cards on non-secure pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add period Created 5 years, 5 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
« no previous file with comments | « ios/chrome/browser/ui/autofill/autofill_client_ios.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/autofill/autofill_client_ios.mm
diff --git a/ios/chrome/browser/ui/autofill/autofill_client_ios.mm b/ios/chrome/browser/ui/autofill/autofill_client_ios.mm
index d203e9551401fd4959b74bf39eafdfb1993ac031..f645011fa9a7be1ac45208b05a0197c1fce56979 100644
--- a/ios/chrome/browser/ui/autofill/autofill_client_ios.mm
+++ b/ios/chrome/browser/ui/autofill/autofill_client_ios.mm
@@ -152,6 +152,12 @@ scoped_refptr<AutofillWebDataService> AutofillClientIOS::GetDatabase() {
browser_state_, ServiceAccessType::EXPLICIT_ACCESS);
}
+bool AutofillClientIOS::IsContextSecure(const GURL& form_origin) {
+ // TODO (sigbjorn): Return if the context is secure, not just
+ // the form_origin. See crbug.com/505388.
+ return form_origin.SchemeIsCryptographic();
+}
+
void AutofillClientIOS::OnFirstUserGestureObserved() {
// TODO(gcasto): [Merge 306796] http://crbug.com/439425 Verify if this method
// needs a real implementation or not.
« no previous file with comments | « ios/chrome/browser/ui/autofill/autofill_client_ios.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698