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

Issue 2472133004: Creating class for processing of keypress events. (Closed)

Created:
4 years, 1 month ago by dvadym
Modified:
3 years, 11 months ago
Reviewers:
vabr (Chromium)
CC:
chromium-reviews, jam, gcasto+watchlist_chromium.org, darin-cc_chromium.org, vabr+watchlistpasswordmanager_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Creating class for processing of keypress events. This CL includes 1.Making ChromePasswordManagerClient to be InputEventObserver 2.ChromePasswordManagerClient subscribes itself on InputEvents on navigation of main frame. 3.Implementing class PasswordReuseDetectionManager, that will manage all password reuse relate stuff. Currently it saves only keystrokes in string. 4.Client propagates keystrokes to PasswordReuseDetectionManager Calling PasswordStore for verification of password reuse will be done in later CLs. BUG=657041 Committed: https://crrev.com/603e76750872611703d70a2baf397466f6e732b2 Cr-Commit-Position: refs/heads/master@{#440751}

Patch Set 1 #

Patch Set 2 : Rebase and some improvements #

Patch Set 3 : Procesing WebInputEvent::Char #

Patch Set 4 #

Patch Set 5 : Refactoring,tests,pretifying #

Patch Set 6 : Client is webInputEventObserver #

Patch Set 7 : pretifying #

Patch Set 8 : pretifying #

Patch Set 9 : fix #

Total comments: 22

Patch Set 10 : Addressed comments #

Patch Set 11 : tiny fix #

Patch Set 12 : tiny fix #

Total comments: 4

Patch Set 13 : Addressed comments #

Patch Set 14 : removed Unused var #

Total comments: 2

Patch Set 15 : comment fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -2 lines) Patch
M chrome/browser/password_manager/chrome_password_manager_client.h View 1 2 3 4 5 6 7 8 9 4 chunks +13 lines, -1 line 0 comments Download
M chrome/browser/password_manager/chrome_password_manager_client.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +23 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
A components/password_manager/core/browser/password_reuse_detection_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +35 lines, -0 lines 0 comments Download
A components/password_manager/core/browser/password_reuse_detection_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +28 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_reuse_detector_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 32 (22 generated)
dvadym
hi Vaclav, Could you please review this CL? Regards, Vadym
3 years, 12 months ago (2016-12-23 15:03:53 UTC) #5
vabr (Chromium)
Hi Vadym, I have some questions below. I agree that ChromePasswordManagerClient::OnInputEvent and the PasswordReuseDetectionManager are ...
3 years, 12 months ago (2016-12-23 17:14:11 UTC) #13
dvadym
Thanks Vaclav for comments. I've addressed them. PTAL. https://codereview.chromium.org/2472133004/diff/160001/chrome/browser/password_manager/chrome_password_manager_client.cc File chrome/browser/password_manager/chrome_password_manager_client.cc (right): https://codereview.chromium.org/2472133004/diff/160001/chrome/browser/password_manager/chrome_password_manager_client.cc#newcode384 chrome/browser/password_manager/chrome_password_manager_client.cc:384: web_contents()->GetRenderViewHost()->GetWidget()->RemoveInputEventObserver( ...
3 years, 12 months ago (2016-12-23 17:45:20 UTC) #14
vabr (Chromium)
LGTM with nits. Thanks! Vaclav https://codereview.chromium.org/2472133004/diff/160001/chrome/browser/password_manager/chrome_password_manager_client.cc File chrome/browser/password_manager/chrome_password_manager_client.cc (right): https://codereview.chromium.org/2472133004/diff/160001/chrome/browser/password_manager/chrome_password_manager_client.cc#newcode384 chrome/browser/password_manager/chrome_password_manager_client.cc:384: web_contents()->GetRenderViewHost()->GetWidget()->RemoveInputEventObserver( On 2016/12/23 17:45:20, ...
3 years, 12 months ago (2016-12-23 21:24:24 UTC) #15
dvadym
Thanks Vaclav for review! https://codereview.chromium.org/2472133004/diff/220001/components/password_manager/core/browser/password_reuse_detection_manager.cc File components/password_manager/core/browser/password_reuse_detection_manager.cc (right): https://codereview.chromium.org/2472133004/diff/220001/components/password_manager/core/browser/password_reuse_detection_manager.cc#newcode1 components/password_manager/core/browser/password_reuse_detection_manager.cc:1: // Copyright 2014 The Chromium ...
3 years, 11 months ago (2016-12-27 10:40:03 UTC) #18
vabr (Chromium)
LGTM! https://codereview.chromium.org/2472133004/diff/260001/components/password_manager/core/browser/password_reuse_detection_manager.h File components/password_manager/core/browser/password_reuse_detection_manager.h (right): https://codereview.chromium.org/2472133004/diff/260001/components/password_manager/core/browser/password_reuse_detection_manager.h#newcode16 components/password_manager/core/browser/password_reuse_detection_manager.h:16: // do nothing with them. TODO(crbug.com/657041): write other ...
3 years, 11 months ago (2016-12-27 11:02:27 UTC) #23
dvadym
https://codereview.chromium.org/2472133004/diff/260001/components/password_manager/core/browser/password_reuse_detection_manager.h File components/password_manager/core/browser/password_reuse_detection_manager.h (right): https://codereview.chromium.org/2472133004/diff/260001/components/password_manager/core/browser/password_reuse_detection_manager.h#newcode16 components/password_manager/core/browser/password_reuse_detection_manager.h:16: // do nothing with them. TODO(crbug.com/657041): write other features ...
3 years, 11 months ago (2016-12-27 11:39:15 UTC) #24
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/2472133004/280001
3 years, 11 months ago (2016-12-27 11:39:33 UTC) #27
commit-bot: I haz the power
Committed patchset #15 (id:280001)
3 years, 11 months ago (2016-12-27 12:44:07 UTC) #30
commit-bot: I haz the power
3 years, 11 months ago (2017-01-02 15:46:08 UTC) #32
Message was sent while issue was closed.
Patchset 15 (id:??) landed as
https://crrev.com/603e76750872611703d70a2baf397466f6e732b2
Cr-Commit-Position: refs/heads/master@{#440751}

Powered by Google App Engine
This is Rietveld 408576698