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

Unified Diff: android_webview/native/aw_autofill_client.cc

Issue 2672623005: Record Autofill form events specially for nonsecure pages (Closed)
Patch Set: fix test added in rebase Created 3 years, 10 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 | « android_webview/native/aw_autofill_client.h ('k') | chrome/browser/ui/autofill/chrome_autofill_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/native/aw_autofill_client.cc
diff --git a/android_webview/native/aw_autofill_client.cc b/android_webview/native/aw_autofill_client.cc
index 11079829ab95b4ae58ec8bcec4c02098c2e6430d..7f6043369c8407fcd359961d2e1e4be512d829ea 100644
--- a/android_webview/native/aw_autofill_client.cc
+++ b/android_webview/native/aw_autofill_client.cc
@@ -185,12 +185,12 @@ void AwAutofillClient::OnFirstUserGestureObserved() {
NOTIMPLEMENTED();
}
-bool AwAutofillClient::IsContextSecure(const GURL& form_origin) {
+bool AwAutofillClient::IsContextSecure() {
content::SSLStatus ssl_status;
content::NavigationEntry* navigation_entry =
web_contents_->GetController().GetLastCommittedEntry();
if (!navigation_entry)
- return false;
+ return false;
ssl_status = navigation_entry->GetSSL();
// Note: The implementation below is a copy of the one in
« no previous file with comments | « android_webview/native/aw_autofill_client.h ('k') | chrome/browser/ui/autofill/chrome_autofill_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698