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. |