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..6366842518bee94ce3a2ed78dd698686d21d245c 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 |
Justin Donnelly
2015/07/07 14:18:16
Add period to the end.
|
+ 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. |