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

Issue 2688053003: Record Autofill form events specially for nonsecure pages (Closed)

Created:
3 years, 10 months ago by estark
Modified:
3 years, 10 months ago
Reviewers:
CC:
chromium-reviews
Target Ref:
refs/pending/branch-heads/2987
Project:
chromium
Visibility:
Public.

Description

Record Autofill form events specially for nonsecure pages The Form-Not-Secure experiment shows special "Payment not secure" warnings for credit card forms on HTTP pages. This CL records credit card autofill form events in a special histogram broken out for nonsecure pages, to measure the impact of these "Payment not secure" warnings on form interactions. To do so, the FormEventLogger needs to know whether the main frame URL is secure, at a point at which it doesn't have access to a form origin URL. iOS is the only platform on which IsContextSecure used the form_origin parameter, and there was an existing TODO to fix that (https://crbug.com/505388). So this CL removes the form_origin parameter from IsContextSecure, fixes the iOS TODO, and uses the resulting IsContextSecure method to record nonsecure form metrics. BUG=677291, 687823, 505388 Review-Url: https://codereview.chromium.org/2672623005 Cr-Commit-Position: refs/heads/master@{#449402} (cherry picked from commit 57464d6c82bea1c759874da3101135e1ae1494eb) Review-Url: https://codereview.chromium.org/2688053003 . Cr-Commit-Position: refs/branch-heads/2987@{#445} Cr-Branched-From: ad51088c0e8776e8dcd963dbe752c4035ba6dab6-refs/heads/master@{#444943} Committed: https://chromium.googlesource.com/chromium/src/+/6a75ce0ed0fc234ac83451d91d96e77e01a9e84c

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+202 lines, -25 lines) Patch
M android_webview/native/aw_autofill_client.h View 1 chunk +1 line, -1 line 0 comments Download
M android_webview/native/aw_autofill_client.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/autofill/chrome_autofill_client.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/autofill/chrome_autofill_client.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/autofill/core/browser/autofill_assistant.cc View 1 chunk +1 line, -2 lines 0 comments Download
M components/autofill/core/browser/autofill_client.h View 2 chunks +1 line, -2 lines 0 comments Download
M components/autofill/core/browser/autofill_manager.cc View 2 chunks +3 lines, -1 line 0 comments Download
M components/autofill/core/browser/autofill_metrics.h View 2 chunks +5 lines, -0 lines 0 comments Download
M components/autofill/core/browser/autofill_metrics.cc View 3 chunks +10 lines, -2 lines 0 comments Download
M components/autofill/core/browser/autofill_metrics_unittest.cc View 3 chunks +114 lines, -0 lines 0 comments Download
M components/autofill/core/browser/test_autofill_client.h View 2 chunks +7 lines, -1 line 0 comments Download
M components/autofill/core/browser/test_autofill_client.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M components/password_manager/core/browser/password_autofill_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/autofill/autofill_controller.mm View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/autofill/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M ios/chrome/browser/ui/autofill/autofill_client_ios.h View 3 chunks +7 lines, -1 line 0 comments Download
M ios/chrome/browser/ui/autofill/autofill_client_ios.mm View 2 chunks +20 lines, -4 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +22 lines, -2 lines 0 comments Download

Messages

Total messages: 2 (1 generated)
estark
3 years, 10 months ago (2017-02-10 19:33:47 UTC) #2
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
6a75ce0ed0fc234ac83451d91d96e77e01a9e84c.

Powered by Google App Engine
This is Rietveld 408576698