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

Issue 231283003: Password manager: introduce logging for the internals page (Closed)

Created:
6 years, 8 months ago by vabr (Chromium)
Modified:
6 years, 8 months ago
CC:
chromium-reviews, benquan, jam, browser-components-watch_chromium.org, darin-cc_chromium.org, arv+watch_chromium.org, dyu1, estade+watch_chromium.org, Ilya Sherman, rouslan+autofillwatch_chromium.org, Dane Wallinga
Visibility:
Public.

Description

Password manager: introduce logging for the internals page Follow-up CL of https://codereview.chromium.org/228263004/ This CL adds instances of SavePasswordProgressLogger into crucial parts of the password manager code. After this CL, the logging should already work, i.e., when the command line flag is enabled, the internals page should show debugging info about saving a password on a website. More context in the design doc: https://docs.google.com/document/d/1ArDhTo0w-8tOPiTwqM1gG6ZGqODo8UTpXlJjjnCNK4s/edit?usp=sharing BUG=347927 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266481

Patch Set 1 : #

Patch Set 2 : Fixed some NULL dereference #

Patch Set 3 : Rebased #

Patch Set 4 : Rebase corrected #

Patch Set 5 : Uses StringID #

Total comments: 23

Patch Set 6 : Only rebased #

Patch Set 7 : Comments addressed #

Total comments: 14

Patch Set 8 : Further comments addressed + unrelated style changes split off to a different CL #

Total comments: 6

Patch Set 9 : Just rebased #

Patch Set 10 : Comments addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+399 lines, -23 lines) Patch
M chrome/browser/password_manager/chrome_password_manager_client.cc View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/password_manager/chrome_password_manager_client_unittest.cc View 1 2 3 4 5 6 7 8 5 chunks +43 lines, -6 lines 0 comments Download
M chrome/browser/ui/login/login_prompt.cc View 1 2 3 4 5 6 7 8 9 3 chunks +21 lines, -1 line 0 comments Download
M components/autofill/content/common/autofill_messages.h View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
M components/autofill/content/renderer/password_autofill_agent.h View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -0 lines 0 comments Download
M components/autofill/content/renderer/password_autofill_agent.cc View 1 2 3 4 5 6 7 8 15 chunks +110 lines, -4 lines 0 comments Download
M components/autofill/core/common/save_password_progress_logger.h View 1 2 3 4 5 6 7 8 9 1 chunk +37 lines, -0 lines 0 comments Download
M components/autofill/core/common/save_password_progress_logger.cc View 1 2 3 4 5 6 7 8 9 1 chunk +74 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_manager.h View 1 2 3 4 5 6 7 2 chunks +6 lines, -2 lines 0 comments Download
M components/password_manager/core/browser/password_manager.cc View 1 2 3 4 5 6 7 8 9 13 chunks +95 lines, -10 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
vabr (Chromium)
Hi Ilya, This CL actually uses the loggers introduced previously, PTAL. The internals page itself ...
6 years, 8 months ago (2014-04-10 14:15:31 UTC) #1
vabr (Chromium)
On 2014/04/10 14:15:31, vabr (Chromium) wrote: > Hi Ilya, > > This CL actually uses ...
6 years, 8 months ago (2014-04-10 14:27:56 UTC) #2
vabr (Chromium)
Ilya, given the recent security discussions about this feature, I'll have to do some changes ...
6 years, 8 months ago (2014-04-10 20:28:31 UTC) #3
vabr (Chromium)
Hi Ilya, I updated this CL with the recent changes to the SavePasswordProgressLogger interface. PTAL. ...
6 years, 8 months ago (2014-04-22 13:09:19 UTC) #4
Ilya Sherman
On 2014/04/22 13:09:19, vabr (Chromium) wrote: > Hi Ilya, > > I updated this CL ...
6 years, 8 months ago (2014-04-23 05:19:55 UTC) #5
Ilya Sherman
On 2014/04/22 13:09:19, vabr (Chromium) wrote: > Hi Ilya, > > I updated this CL ...
6 years, 8 months ago (2014-04-23 05:19:56 UTC) #6
vabr (Chromium)
Hi Ilya, Thanks for your comments, PTAL at how I addressed them. I'm working on ...
6 years, 8 months ago (2014-04-23 18:15:34 UTC) #7
Ilya Sherman
LGTM with the remaining comments addressed. Thanks, Václav! On 2014/04/23 18:15:34, vabr (Chromium) wrote: > ...
6 years, 8 months ago (2014-04-23 20:21:43 UTC) #8
vabr (Chromium)
Thanks, Ilya! I addressed your comments, and also removed some "password_manager::" where already inside password_manager ...
6 years, 8 months ago (2014-04-24 10:59:27 UTC) #9
vabr (Chromium)
Now adding Peter and Tom as reviewers for real. Peter, Please review chrome/browser/ui/login/login_prompt.cc The added ...
6 years, 8 months ago (2014-04-24 11:00:16 UTC) #10
Tom Sepez
lgtm https://codereview.chromium.org/231283003/diff/220001/components/autofill/content/common/autofill_messages.h File components/autofill/content/common/autofill_messages.h (right): https://codereview.chromium.org/231283003/diff/220001/components/autofill/content/common/autofill_messages.h#newcode116 components/autofill/content/common/autofill_messages.h:116: // Notification that decisions about saving the password ...
6 years, 8 months ago (2014-04-24 17:20:09 UTC) #11
Peter Kasting
LGTM https://codereview.chromium.org/231283003/diff/220001/chrome/browser/ui/login/login_prompt.cc File chrome/browser/ui/login/login_prompt.cc (right): https://codereview.chromium.org/231283003/diff/220001/chrome/browser/ui/login/login_prompt.cc#newcode36 chrome/browser/ui/login/login_prompt.cc:36: using autofill::SavePasswordProgressLogger; Nit: Prefer to avoid using directives ...
6 years, 8 months ago (2014-04-24 20:51:14 UTC) #12
Ilya Sherman
(Still LGTM) https://codereview.chromium.org/231283003/diff/220001/components/password_manager/core/browser/password_manager.cc File components/password_manager/core/browser/password_manager.cc (right): https://codereview.chromium.org/231283003/diff/220001/components/password_manager/core/browser/password_manager.cc#newcode264 components/password_manager/core/browser/password_manager.cc:264: default: I'd prefer if you directly listed ...
6 years, 8 months ago (2014-04-25 00:48:45 UTC) #13
vabr (Chromium)
Thanks all for helpful comments. All comments addressed. Once I land https://codereview.chromium.org/254573005/, then I will ...
6 years, 8 months ago (2014-04-25 09:38:47 UTC) #14
vabr (Chromium)
The CQ bit was checked by vabr@chromium.org
6 years, 8 months ago (2014-04-26 20:02:56 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vabr@chromium.org/231283003/260001
6 years, 8 months ago (2014-04-26 20:03:17 UTC) #16
commit-bot: I haz the power
6 years, 8 months ago (2014-04-28 08:04:39 UTC) #17
Message was sent while issue was closed.
Change committed as 266481

Powered by Google App Engine
This is Rietveld 408576698