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

Issue 10222017: Make password generation switched by a preference in chrome settings rather than a command line fla… (Closed)

Created:
8 years, 8 months ago by zysxqn
Modified:
8 years, 7 months ago
CC:
chromium-reviews, dhollowa+watch_chromium.org, arv (Not doing code reviews), darin-cc_chromium.org, dyu1, brettw-cc_chromium.org, Ilya Sherman
Visibility:
Public.

Description

Make password generation switched by a preference in chrome settings rather than a command line flag. BUG= TEST= AutofillManager_Unittest, PasswordgenerationManager_Browsertest Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=137573

Patch Set 1 #

Total comments: 13

Patch Set 2 : Let the browser sends only one massage to the renderer regarding the password generation enabled st… #

Patch Set 3 : Make password generation checkbox hidden by the command flag. #

Total comments: 55

Patch Set 4 : Changes according to code reviews #

Total comments: 16

Patch Set 5 : Changes from reviews. #

Total comments: 10

Patch Set 6 : Some changes from review comments. #

Patch Set 7 : Changes some wording #

Patch Set 8 : Resumed my working branch by: (1) reset my local client; and (2) patch the CL in. #

Patch Set 9 : Make MockAutofillManager to use the constructor designated for unit tests to avoid dangling pref_ob… #

Total comments: 2

Patch Set 10 : Some nit. #

Patch Set 11 : Change DCHECK_EQ to DCHECK to get around some type convertion issue. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -20 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/autofill/autofill_external_delegate_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/autofill/autofill_manager.h View 1 2 3 4 5 6 4 chunks +11 lines, -1 line 0 comments Download
M chrome/browser/autofill/autofill_manager.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +37 lines, -6 lines 0 comments Download
M chrome/browser/autofill/autofill_manager_unittest.cc View 1 2 3 4 2 chunks +46 lines, -1 line 0 comments Download
M chrome/browser/resources/options2/browser_options.html View 1 2 3 4 5 6 7 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/resources/options2/browser_options.js View 1 2 3 4 5 6 7 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options2/browser_options_handler2.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options2/browser_options_handler2.cc View 1 2 3 4 5 6 7 3 chunks +11 lines, -0 lines 0 comments Download
M chrome/common/autofill_messages.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/renderer/autofill/password_generation_manager.h View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/renderer/autofill/password_generation_manager.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/renderer/autofill/password_generation_manager_browsertest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 3 4 5 6 7 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 37 (0 generated)
zysxqn
8 years, 8 months ago (2012-04-25 23:45:41 UTC) #1
zysxqn
8 years, 8 months ago (2012-04-25 23:47:03 UTC) #2
Garrett Casto
So I was adding a lot of comments about how we should have just one ...
8 years, 8 months ago (2012-04-26 23:23:59 UTC) #3
Ilya Sherman
Is this feature in fact ready for shipping? I was expecting that this is targeted ...
8 years, 8 months ago (2012-04-26 23:30:35 UTC) #4
zysxqn
Browser sends only one message to the renderer now. Did not reply all your comments ...
8 years, 8 months ago (2012-04-27 18:38:34 UTC) #5
zysxqn
Thanks for the sample code. Please take another look.
8 years, 7 months ago (2012-05-01 18:30:48 UTC) #6
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
8 years, 7 months ago (2012-05-01 18:35:16 UTC) #7
Ilya Sherman
https://chromiumcodereview.appspot.com/10222017/diff/11002/chrome/browser/autofill/autofill_manager.cc File chrome/browser/autofill/autofill_manager.cc (right): https://chromiumcodereview.appspot.com/10222017/diff/11002/chrome/browser/autofill/autofill_manager.cc#newcode246 chrome/browser/autofill/autofill_manager.cc:246: // (1) Password sync is enabled, and nit: No ...
8 years, 7 months ago (2012-05-01 22:27:47 UTC) #8
zysxqn
Please have another look. Note that I somehow messed up my client so I did ...
8 years, 7 months ago (2012-05-03 00:57:24 UTC) #9
Ilya Sherman
LGTM with a few more nits. Thanks. Please wait for Garrett's LGTM as well, in ...
8 years, 7 months ago (2012-05-04 06:04:50 UTC) #10
zysxqn
All addressed. Waiting for Garrett's LGTM. http://codereview.chromium.org/10222017/diff/25002/chrome/browser/autofill/autofill_manager.cc File chrome/browser/autofill/autofill_manager.cc (right): http://codereview.chromium.org/10222017/diff/25002/chrome/browser/autofill/autofill_manager.cc#newcode281 chrome/browser/autofill/autofill_manager.cc:281: } On 2012/05/04 ...
8 years, 7 months ago (2012-05-04 18:52:54 UTC) #11
Ilya Sherman
+jhawkins for WebUI approval
8 years, 7 months ago (2012-05-04 21:27:03 UTC) #12
James Hawkins
webui LGTM
8 years, 7 months ago (2012-05-07 21:53:12 UTC) #13
Garrett Casto
Mostly looks good. Just a few more things. http://codereview.chromium.org/10222017/diff/33002/chrome/browser/autofill/autofill_manager.cc File chrome/browser/autofill/autofill_manager.cc (right): http://codereview.chromium.org/10222017/diff/33002/chrome/browser/autofill/autofill_manager.cc#newcode213 chrome/browser/autofill/autofill_manager.cc:213: false, ...
8 years, 7 months ago (2012-05-11 23:01:28 UTC) #14
zysxqn
http://codereview.chromium.org/10222017/diff/33002/chrome/browser/autofill/autofill_manager.cc File chrome/browser/autofill/autofill_manager.cc (right): http://codereview.chromium.org/10222017/diff/33002/chrome/browser/autofill/autofill_manager.cc#newcode213 chrome/browser/autofill/autofill_manager.cc:213: false, On 2012/05/11 23:01:28, Garrett Casto wrote: > I'd ...
8 years, 7 months ago (2012-05-11 23:52:50 UTC) #15
Garrett Casto
lgtm http://codereview.chromium.org/10222017/diff/33002/chrome/browser/autofill/autofill_manager.h File chrome/browser/autofill/autofill_manager.h (right): http://codereview.chromium.org/10222017/diff/33002/chrome/browser/autofill/autofill_manager.h#newcode126 chrome/browser/autofill/autofill_manager.h:126: // This is a separate function to aid ...
8 years, 7 months ago (2012-05-14 20:24:10 UTC) #16
zysxqn
Submitting... http://codereview.chromium.org/10222017/diff/33002/chrome/browser/autofill/autofill_manager.h File chrome/browser/autofill/autofill_manager.h (right): http://codereview.chromium.org/10222017/diff/33002/chrome/browser/autofill/autofill_manager.h#newcode126 chrome/browser/autofill/autofill_manager.h:126: // This is a separate function to aid ...
8 years, 7 months ago (2012-05-14 20:47:34 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zysxqn@google.com/10222017/37003
8 years, 7 months ago (2012-05-14 20:59:30 UTC) #18
commit-bot: I haz the power
Try job failure for 10222017-37003 (retry) on mac_rel for step "unit_tests". It's a second try, ...
8 years, 7 months ago (2012-05-14 21:44:40 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zysxqn@google.com/10222017/37003
8 years, 7 months ago (2012-05-14 22:32:59 UTC) #20
commit-bot: I haz the power
Try job failure for 10222017-37003 (retry) on mac_rel for step "unit_tests". It's a second try, ...
8 years, 7 months ago (2012-05-14 23:16:37 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zysxqn@google.com/10222017/37003
8 years, 7 months ago (2012-05-15 17:09:40 UTC) #22
commit-bot: I haz the power
Can't apply patch for file chrome/browser/autofill/autofill_manager.cc. While running patch -p1 --forward --force; patching file chrome/browser/autofill/autofill_manager.cc ...
8 years, 7 months ago (2012-05-15 17:09:51 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zysxqn@google.com/10222017/37003
8 years, 7 months ago (2012-05-15 17:57:46 UTC) #24
commit-bot: I haz the power
Can't apply patch for file chrome/browser/autofill/autofill_manager.cc. While running patch -p1 --forward --force; patching file chrome/browser/autofill/autofill_manager.cc ...
8 years, 7 months ago (2012-05-15 17:57:59 UTC) #25
Brian Ryner
If the problem is that the patch won't apply, it means there is a merge ...
8 years, 7 months ago (2012-05-15 18:00:26 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zysxqn@google.com/10222017/37003
8 years, 7 months ago (2012-05-15 21:48:19 UTC) #27
commit-bot: I haz the power
Can't apply patch for file chrome/browser/autofill/autofill_manager.cc. While running patch -p1 --forward --force; patching file chrome/browser/autofill/autofill_manager.cc ...
8 years, 7 months ago (2012-05-15 21:49:01 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zysxqn@google.com/10222017/34035
8 years, 7 months ago (2012-05-15 22:02:02 UTC) #29
commit-bot: I haz the power
Try job failure for 10222017-34035 (retry) on mac_rel for step "unit_tests". It's a second try, ...
8 years, 7 months ago (2012-05-15 22:46:11 UTC) #30
zysxqn
I have fixed the unit test fail in my client. Ilya, do you want to ...
8 years, 7 months ago (2012-05-16 18:02:58 UTC) #31
Ilya Sherman
https://chromiumcodereview.appspot.com/10222017/diff/41010/chrome/browser/autofill/autofill_external_delegate_unittest.cc File chrome/browser/autofill/autofill_external_delegate_unittest.cc (right): https://chromiumcodereview.appspot.com/10222017/diff/41010/chrome/browser/autofill/autofill_external_delegate_unittest.cc#newcode61 chrome/browser/autofill/autofill_external_delegate_unittest.cc:61: : AutofillManager(tab_contents, personal_data) {} nit: Rather than adding a ...
8 years, 7 months ago (2012-05-16 18:10:38 UTC) #32
zysxqn
Done and submitting. http://codereview.chromium.org/10222017/diff/41010/chrome/browser/autofill/autofill_external_delegate_unittest.cc File chrome/browser/autofill/autofill_external_delegate_unittest.cc (right): http://codereview.chromium.org/10222017/diff/41010/chrome/browser/autofill/autofill_external_delegate_unittest.cc#newcode61 chrome/browser/autofill/autofill_external_delegate_unittest.cc:61: : AutofillManager(tab_contents, personal_data) {} On 2012/05/16 ...
8 years, 7 months ago (2012-05-16 18:25:02 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zysxqn@google.com/10222017/48004
8 years, 7 months ago (2012-05-16 18:25:42 UTC) #34
commit-bot: I haz the power
Try job failure for 10222017-48004 (retry) on win_rel for step "compile" (clobber build). It's a ...
8 years, 7 months ago (2012-05-16 19:47:02 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zysxqn@google.com/10222017/40025
8 years, 7 months ago (2012-05-16 22:24:42 UTC) #36
commit-bot: I haz the power
8 years, 7 months ago (2012-05-17 00:10:07 UTC) #37
Change committed as 137573

Powered by Google App Engine
This is Rietveld 408576698