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

Issue 216183008: Password manager internals page: Introduce logger in browser (Closed)

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

Description

Password manager internals page: Introduce logger in browser Password manager internals page serves as a debugging output from the process of observing submitted password forms and offering the user to save the password. The user will be able to grab the debugging info and pass it onto the Chrome developers to help investigate issues. This CL introduces: 1) SavePasswordProgressLogger, a collection of methods to easily format logs and scrub privacy sensitive information out of them. 2) BrowserSavePasswordProgressLogger, a specialization of the Logger for the browser part of the password management code. More context in the design doc: https://docs.google.com/document/d/1ArDhTo0w-8tOPiTwqM1gG6ZGqODo8UTpXlJjjnCNK4s/edit?usp=sharing Follow-up CLs will introduce the renderer specialization of the Logger, and actual logging calls. BUG=347927 TBR=blundell@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=262671

Patch Set 1 : #

Total comments: 18

Patch Set 2 : Rebased #

Patch Set 3 : Comments addressed #

Total comments: 53

Patch Set 4 : Further comments addressed #

Total comments: 40

Patch Set 5 : Rebased #

Patch Set 6 : Further comments addressed #

Total comments: 12

Patch Set 7 : Rebased #

Patch Set 8 : Comments addressed, Monitor renamed #

Total comments: 4

Patch Set 9 : Rebased #

Patch Set 10 : Final comments addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+538 lines, -13 lines) Patch
M components/autofill.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
A components/autofill/core/common/save_password_progress_logger.h View 1 2 3 4 5 6 7 1 chunk +74 lines, -0 lines 0 comments Download
A components/autofill/core/common/save_password_progress_logger.cc View 1 2 3 4 5 6 7 1 chunk +138 lines, -0 lines 0 comments Download
A components/autofill/core/common/save_password_progress_logger_unittest.cc View 1 2 3 4 5 1 chunk +153 lines, -0 lines 0 comments Download
M components/components_tests.gyp View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -0 lines 0 comments Download
M components/password_manager.gypi View 1 2 3 4 5 6 7 2 chunks +4 lines, -0 lines 0 comments Download
A components/password_manager/core/browser/browser_save_password_progress_logger.h View 1 2 3 4 5 6 7 8 9 1 chunk +38 lines, -0 lines 0 comments Download
A components/password_manager/core/browser/browser_save_password_progress_logger.cc View 1 2 3 4 5 6 7 1 chunk +23 lines, -0 lines 0 comments Download
A components/password_manager/core/browser/browser_save_password_progress_logger_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +40 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_manager_unittest.cc View 1 2 3 4 5 6 7 3 chunks +4 lines, -13 lines 0 comments Download
A components/password_manager/core/browser/stub_password_manager_client.h View 1 2 3 4 5 6 7 1 chunk +35 lines, -0 lines 0 comments Download
A components/password_manager/core/browser/stub_password_manager_client.cc View 1 2 3 4 5 6 7 1 chunk +25 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (0 generated)
vabr (Chromium)
Hi Ilya, Could you please take a look? This is the other end of the ...
6 years, 9 months ago (2014-03-28 23:37:32 UTC) #1
vabr (Chromium)
> (If you have a glimpse at how I plan to use them, you can ...
6 years, 9 months ago (2014-03-29 00:04:14 UTC) #2
Ilya Sherman
IMO something much simpler would serve our needs better. Let's not over-engineer this logging code, ...
6 years, 9 months ago (2014-03-29 00:50:52 UTC) #3
vabr (Chromium)
Hi Ilya, Thanks for your patience with me, and the great ideas how to simplify ...
6 years, 8 months ago (2014-04-03 19:59:09 UTC) #4
Ilya Sherman
Thanks, this is much easier to follow! https://codereview.chromium.org/216183008/diff/80001/components/autofill/core/common/save_password_progress_monitor_helper.cc File components/autofill/core/common/save_password_progress_monitor_helper.cc (right): https://codereview.chromium.org/216183008/diff/80001/components/autofill/core/common/save_password_progress_monitor_helper.cc#newcode74 components/autofill/core/common/save_password_progress_monitor_helper.cc:74: log.append(" }"); ...
6 years, 8 months ago (2014-04-03 23:22:52 UTC) #5
vabr (Chromium)
Hi Ilya, PTAL. I addressed all your comments. Most of them I accepted fully, but ...
6 years, 8 months ago (2014-04-04 17:58:13 UTC) #6
Ilya Sherman
https://codereview.chromium.org/216183008/diff/80001/components/password_manager/core/browser/save_password_progress_monitor.cc File components/password_manager/core/browser/save_password_progress_monitor.cc (right): https://codereview.chromium.org/216183008/diff/80001/components/password_manager/core/browser/save_password_progress_monitor.cc#newcode36 components/password_manager/core/browser/save_password_progress_monitor.cc:36: : client_(client), logging_activated_(false) { On 2014/04/04 17:58:13, vabr (Chromium) ...
6 years, 8 months ago (2014-04-04 23:13:47 UTC) #7
vabr (Chromium)
Hi Ilya, Thanks again for your very helpful comments. This time I addressed all of ...
6 years, 8 months ago (2014-04-07 14:36:22 UTC) #8
Ilya Sherman
Thanks! Just a few comments left: https://codereview.chromium.org/216183008/diff/80001/components/password_manager/core/browser/save_password_progress_monitor.cc File components/password_manager/core/browser/save_password_progress_monitor.cc (right): https://codereview.chromium.org/216183008/diff/80001/components/password_manager/core/browser/save_password_progress_monitor.cc#newcode36 components/password_manager/core/browser/save_password_progress_monitor.cc:36: : client_(client), logging_activated_(false) ...
6 years, 8 months ago (2014-04-08 00:18:03 UTC) #9
vabr (Chromium)
Hi Ilya, I addressed all your comments, fixed some minor things, and updated the CL ...
6 years, 8 months ago (2014-04-08 13:55:40 UTC) #10
Ilya Sherman
LGTM with a final couple of nits addressed. Thanks very much for being open to ...
6 years, 8 months ago (2014-04-08 20:50:30 UTC) #11
vabr (Chromium)
Thanks, Ilya, For making the design much better. I will update the design doc shortly. ...
6 years, 8 months ago (2014-04-09 07:50:57 UTC) #12
vabr (Chromium)
The CQ bit was checked by vabr@chromium.org
6 years, 8 months ago (2014-04-09 07:51:09 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vabr@chromium.org/216183008/300001
6 years, 8 months ago (2014-04-09 08:03:01 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vabr@chromium.org/216183008/300001
6 years, 8 months ago (2014-04-09 08:10:07 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/216183008/300001
6 years, 8 months ago (2014-04-09 08:17:20 UTC) #16
blundell
lgtm
6 years, 8 months ago (2014-04-09 08:38:37 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vabr@chromium.org/216183008/300001
6 years, 8 months ago (2014-04-09 09:10:39 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vabr@chromium.org/216183008/300001
6 years, 8 months ago (2014-04-09 09:17:45 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vabr@chromium.org/216183008/300001
6 years, 8 months ago (2014-04-09 09:25:02 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vabr@chromium.org/216183008/300001
6 years, 8 months ago (2014-04-09 09:32:56 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vabr@chromium.org/216183008/300001
6 years, 8 months ago (2014-04-09 09:45:10 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vabr@chromium.org/216183008/300001
6 years, 8 months ago (2014-04-09 09:54:24 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vabr@chromium.org/216183008/300001
6 years, 8 months ago (2014-04-09 11:14:25 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vabr@chromium.org/216183008/300001
6 years, 8 months ago (2014-04-09 11:25:30 UTC) #25
commit-bot: I haz the power
6 years, 8 months ago (2014-04-09 12:51:37 UTC) #26
Message was sent while issue was closed.
Change committed as 262671

Powered by Google App Engine
This is Rietveld 408576698