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

Issue 2588133002: Make form-not-secure controllable as its own separate Finch feature (Closed)

Created:
4 years ago by estark
Modified:
4 years ago
CC:
chromium-reviews, vabr+watchlistpasswordmanager_chromium.org, rouslan+autofill_chromium.org, sebsg+autofillwatch_chromium.org, browser-components-watch_chromium.org, jdonnelly+autofillwatch_chromium.org, mathp+autofillwatch_chromium.org, asvitkine+watch_chromium.org, vabr+watchlistautofill_chromium.org, estade+watch_chromium.org, gcasto+watchlist_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make form-not-secure controllable as its own separate Finch feature Previously, form-not-secure was enabled as its own value of the --mark-non-secure-as flag. That value also enabled the "Not secure" omnibox warning. Also, the autofill code that checked for the command-line flag didn't allow us to enable it via Finch. This CL moves the form-not-secure warning into its own Finch feature and corresponding chrome://flags flag. This lets us turn it on and off via Finch, independently from the "Not secure" omnibox warning that is controlled by --mark-non-secure-as. BUG=674320 Committed: https://crrev.com/04c3307c17d85118389afd8e3811daf4d60f823e Cr-Commit-Position: refs/heads/master@{#439753}

Patch Set 1 #

Total comments: 10

Patch Set 2 : elawrence, mathp comments; update histograms.xml #

Total comments: 2

Patch Set 3 : lab -> feature #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -82 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 2 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 chunks +12 lines, -13 lines 0 comments Download
M chrome/browser/ssl/security_state_tab_helper_browser_tests.cc View 1 2 3 10 chunks +11 lines, -25 lines 0 comments Download
M components/autofill/core/browser/autofill_experiments.h View 1 1 chunk +0 lines, -4 lines 0 comments Download
M components/autofill/core/browser/autofill_experiments.cc View 1 2 chunks +0 lines, -9 lines 0 comments Download
M components/autofill/core/browser/autofill_manager.cc View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M components/autofill/core/browser/autofill_manager_unittest.cc View 1 2 3 2 chunks +3 lines, -5 lines 0 comments Download
M components/password_manager/core/browser/password_autofill_manager.cc View 3 chunks +3 lines, -7 lines 0 comments Download
M components/password_manager/core/browser/password_autofill_manager_unittest.cc View 6 chunks +10 lines, -9 lines 0 comments Download
M components/security_state/core/security_state.h View 1 3 chunks +10 lines, -0 lines 0 comments Download
M components/security_state/core/security_state.cc View 3 chunks +8 lines, -3 lines 0 comments Download
M components/security_state/core/switches.h View 1 chunk +0 lines, -1 line 0 comments Download
M components/security_state/core/switches.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 3 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 39 (23 generated)
estark
+elawrence for components/security_state and general review +estade for components/autofill +engedy for components/password_manager Thanks, all!
4 years ago (2016-12-19 19:40:39 UTC) #5
estark
By the way, I'll note that the chrome://flags value that I'm removing in this CL ...
4 years ago (2016-12-19 19:41:19 UTC) #6
elawrence
https://codereview.chromium.org/2588133002/diff/1/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/2588133002/diff/1/chrome/app/generated_resources.grd#newcode5365 chrome/app/generated_resources.grd:5365: + Shows an in-form warning when password or credit ...
4 years ago (2016-12-19 20:11:46 UTC) #7
Mathieu
https://codereview.chromium.org/2588133002/diff/1/components/autofill/core/browser/autofill_experiments.cc File components/autofill/core/browser/autofill_experiments.cc (right): https://codereview.chromium.org/2588133002/diff/1/components/autofill/core/browser/autofill_experiments.cc#newcode231 components/autofill/core/browser/autofill_experiments.cc:231: bool IsCreditCardAutofillHttpWarningEnabled() { I think it's fine to remove ...
4 years ago (2016-12-19 20:15:49 UTC) #10
estark
https://codereview.chromium.org/2588133002/diff/1/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/2588133002/diff/1/chrome/app/generated_resources.grd#newcode5365 chrome/app/generated_resources.grd:5365: + Shows an in-form warning when password or credit ...
4 years ago (2016-12-19 20:49:46 UTC) #14
elawrence
On 2016/12/19 20:49:46, estark wrote: > https://codereview.chromium.org/2588133002/diff/1/chrome/app/generated_resources.grd > File chrome/app/generated_resources.grd (right): > > https://codereview.chromium.org/2588133002/diff/1/chrome/app/generated_resources.grd#newcode5365 > ...
4 years ago (2016-12-19 21:06:35 UTC) #18
Evan Stade
components/autofill lgtm
4 years ago (2016-12-19 21:11:17 UTC) #20
Mathieu
lgtm https://codereview.chromium.org/2588133002/diff/20001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/2588133002/diff/20001/chrome/app/generated_resources.grd#newcode5361 chrome/app/generated_resources.grd:5361: + <message name="IDS_ENABLE_HTTP_FORM_WARNING_NAME" desc="Name of the 'HTTP form ...
4 years ago (2016-12-19 23:56:00 UTC) #21
estark
isherman, can you please review histograms.xml? https://codereview.chromium.org/2588133002/diff/20001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/2588133002/diff/20001/chrome/app/generated_resources.grd#newcode5361 chrome/app/generated_resources.grd:5361: + <message name="IDS_ENABLE_HTTP_FORM_WARNING_NAME" ...
4 years ago (2016-12-20 02:07:02 UTC) #24
Ilya Sherman
histograms.xml lgtm
4 years ago (2016-12-20 03:27:39 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2588133002/80001
4 years ago (2016-12-20 04:10:11 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/329563)
4 years ago (2016-12-20 04:17:51 UTC) #30
vabr (Chromium)
components/password_manager LGTM, good to see base::Feature instead of a command line flag! Cheers, Vaclav
4 years ago (2016-12-20 07:18:40 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2588133002/80001
4 years ago (2016-12-20 07:20:59 UTC) #34
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years ago (2016-12-20 08:47:50 UTC) #37
commit-bot: I haz the power
4 years ago (2016-12-20 08:50:00 UTC) #39
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/04c3307c17d85118389afd8e3811daf4d60f823e
Cr-Commit-Position: refs/heads/master@{#439753}

Powered by Google App Engine
This is Rietveld 408576698