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

Issue 2073143002: [Password Generation] Run the form classifier only if AutofillMetadata is enabled (Closed)

Created:
4 years, 6 months ago by kolos1
Modified:
4 years, 6 months ago
CC:
browser-components-watch_chromium.org, chromium-reviews, darin-cc_chromium.org, estade+watch_chromium.org, gcasto+watchlist_chromium.org, jam, jdonnelly+autofillwatch_chromium.org, mkwst+moarreviews-renderer_chromium.org, mkwst+watchlist-passwords_chromium.org, mlamouri+watch-content_chromium.org, rouslan+autofill_chromium.org, vabr+watchlistautofill_chromium.org, vabr+watchlistpasswordmanager_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@pg_classifier_votes
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Password Generation] Run the form classifier only ifAutofillMetadata is enabled (i.e. only in dev and canary) Since the classifier always returns the same response fo the given form, don't run it in stable to decrease performance load. NOPRESUBMIT=true BUG=582434 Committed: https://crrev.com/fe729f044a13f6f476aba98b079304f54bc0d96a Cr-Commit-Position: refs/heads/master@{#400954}

Patch Set 1 : Bots #

Patch Set 2 : Patch sent to review #

Total comments: 7

Patch Set 3 : Changes addressed to reviewer comments #

Patch Set 4 : Removed unnecessary ';' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -15 lines) Patch
M chrome/renderer/autofill/password_generation_agent_browsertest.cc View 2 chunks +28 lines, -7 lines 0 comments Download
M components/autofill/content/common/autofill_messages.h View 1 chunk +3 lines, -0 lines 0 comments Download
M components/autofill/content/renderer/password_generation_agent.h View 2 chunks +8 lines, -0 lines 0 comments Download
M components/autofill/content/renderer/password_generation_agent.cc View 4 chunks +11 lines, -1 line 0 comments Download
M components/autofill/core/browser/form_structure.h View 1 chunk +3 lines, -0 lines 0 comments Download
M components/autofill/core/browser/form_structure.cc View 2 chunks +7 lines, -7 lines 0 comments Download
M components/password_manager/content/browser/content_password_manager_driver.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/password_manager/content/browser/content_password_manager_driver.cc View 2 chunks +6 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_generation_manager.h View 1 chunk +6 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_generation_manager.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_generation_manager_unittest.cc View 1 2 3 4 chunks +24 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_manager_driver.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 30 (16 generated)
kolos1
Hi Vaclav, Please review this CL. Best regards, Maxim
4 years, 6 months ago (2016-06-20 10:59:19 UTC) #7
vabr (Chromium)
LGTM, thank you. Vaclav https://codereview.chromium.org/2073143002/diff/80001/components/password_manager/core/browser/password_generation_manager_unittest.cc File components/password_manager/core/browser/password_generation_manager_unittest.cc (right): https://codereview.chromium.org/2073143002/diff/80001/components/password_manager/core/browser/password_generation_manager_unittest.cc#newcode267 components/password_manager/core/browser/password_generation_manager_unittest.cc:267: bool falseTrue[] = {false, true}; ...
4 years, 6 months ago (2016-06-20 12:14:11 UTC) #9
kolos1
mkwst@: Please review changes in components/autofill/content/common/autofill_messages.h vabr@: replied to your comments. Please review. https://codereview.chromium.org/2073143002/diff/80001/components/password_manager/core/browser/password_generation_manager_unittest.cc File ...
4 years, 6 months ago (2016-06-20 12:25:16 UTC) #11
vabr (Chromium)
Still LGTM, but one more comment. https://codereview.chromium.org/2073143002/diff/80001/components/password_manager/core/browser/password_generation_manager_unittest.cc File components/password_manager/core/browser/password_generation_manager_unittest.cc (right): https://codereview.chromium.org/2073143002/diff/80001/components/password_manager/core/browser/password_generation_manager_unittest.cc#newcode267 components/password_manager/core/browser/password_generation_manager_unittest.cc:267: bool falseTrue[] = ...
4 years, 6 months ago (2016-06-20 12:36:55 UTC) #12
kolos1
https://codereview.chromium.org/2073143002/diff/80001/components/password_manager/core/browser/password_manager_driver.h File components/password_manager/core/browser/password_manager_driver.h (right): https://codereview.chromium.org/2073143002/diff/80001/components/password_manager/core/browser/password_manager_driver.h#newcode100 components/password_manager/core/browser/password_manager_driver.h:100: virtual void AllowToRunFormClassifier(){}; On 2016/06/20 12:36:55, vabr (Chromium) wrote: ...
4 years, 6 months ago (2016-06-20 12:49:04 UTC) #13
kolos1
mkwst@: Friendly ping, please review one new message in components/autofill/content/common/autofill_messages.h
4 years, 6 months ago (2016-06-21 07:34:26 UTC) #15
Mike West
IPC LGTM. (Do y'all have a plan to start migrating to Mojo?)
4 years, 6 months ago (2016-06-21 10:42:55 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2073143002/140001
4 years, 6 months ago (2016-06-21 10:48:26 UTC) #19
vabr (Chromium)
On 2016/06/21 10:42:55, Mike West (OOO - BlinkOn) wrote: > IPC LGTM. > > (Do ...
4 years, 6 months ago (2016-06-21 10:50:00 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/204023)
4 years, 6 months ago (2016-06-21 10:55:06 UTC) #22
vabr (Chromium)
There is an error in the presubmit check. It thinks the the OWNERS file for ...
4 years, 6 months ago (2016-06-21 11:07:06 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2073143002/140001
4 years, 6 months ago (2016-06-21 11:07:40 UTC) #26
commit-bot: I haz the power
Committed patchset #4 (id:140001)
4 years, 6 months ago (2016-06-21 11:33:54 UTC) #28
commit-bot: I haz the power
4 years, 6 months ago (2016-06-21 11:39:50 UTC) #30
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/fe729f044a13f6f476aba98b079304f54bc0d96a
Cr-Commit-Position: refs/heads/master@{#400954}

Powered by Google App Engine
This is Rietveld 408576698