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

Issue 2773483003: Create PasswordProtectionRequest to handle password pings (Closed)

Created:
3 years, 9 months ago by Jialiu Lin
Modified:
3 years, 9 months ago
CC:
asvitkine+watch_chromium.org, blundell+watchlist_chromium.org, chromium-reviews, droger+watchlist_chromium.org, grt+watch_chromium.org, sdefresne+watchlist_chromium.org, timvolodine, vakh+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Create PasswordProtectionRequest to handle password pings PasswordProtectionRequest will check the following conditions to determin if a ping will be sent out: (1) only send ping with SBER user (for now) (2) only send ping if not in incognito mode (for now) (3) only send ping for non-whitelisted URL (4) only send ping if no cached verdict available BUG=698899 Review-Url: https://codereview.chromium.org/2773483003 Cr-Commit-Position: refs/heads/master@{#459611} Committed: https://chromium.googlesource.com/chromium/src/+/1ac305b92081fe7f56daa698d738a040317d9785

Patch Set 1 #

Patch Set 2 : fix BUILD file #

Patch Set 3 : histogram #

Patch Set 4 : fix SB cookie test #

Total comments: 58

Patch Set 5 : address nparker's comments #

Patch Set 6 : nits #

Total comments: 12

Patch Set 7 : Add one more unittest #

Total comments: 15

Patch Set 8 : Address lpz's comments #

Messages

Total messages: 49 (36 generated)
Jialiu Lin
3 years, 9 months ago (2017-03-23 00:34:18 UTC) #15
Nathan Parker
Exciting! Looks like a good architecture to me. I haven't looked at the tests yet. ...
3 years, 9 months ago (2017-03-23 20:45:51 UTC) #23
Jialiu Lin
Thanks nparker! https://codereview.chromium.org/2773483003/diff/80001/chrome/browser/safe_browsing/safe_browsing_service.cc File chrome/browser/safe_browsing/safe_browsing_service.cc (right): https://codereview.chromium.org/2773483003/diff/80001/chrome/browser/safe_browsing/safe_browsing_service.cc#newcode381 chrome/browser/safe_browsing/safe_browsing_service.cc:381: password_protection_service_.reset(); On 2017/03/23 at 20:45:49, Nathan Parker ...
3 years, 9 months ago (2017-03-23 22:43:04 UTC) #28
Nathan Parker
Looks great! A few small comments, otherwise LGTM One thought: I assume there won't be ...
3 years, 9 months ago (2017-03-24 00:41:50 UTC) #34
Jialiu Lin
Thanks nparker! +holte@ for reviewing histograms.xml +zhongyi@ for owner review (adding "+net" to components/safe_browsing/password_protection/DEPS) https://codereview.chromium.org/2773483003/diff/80001/components/safe_browsing/password_protection/password_protection_request.cc ...
3 years, 9 months ago (2017-03-24 01:42:43 UTC) #37
lpz
lgtm https://codereview.chromium.org/2773483003/diff/180001/components/safe_browsing/password_protection/password_protection_request.cc File components/safe_browsing/password_protection/password_protection_request.cc (right): https://codereview.chromium.org/2773483003/diff/180001/components/safe_browsing/password_protection/password_protection_request.cc#newcode55 components/safe_browsing/password_protection/password_protection_request.cc:55: StartTimeout(); This timer will also count the time ...
3 years, 9 months ago (2017-03-24 15:40:49 UTC) #38
Zhongyi Shi
net lgtm
3 years, 9 months ago (2017-03-24 17:02:30 UTC) #39
Jialiu Lin
Thanks zhongyi@ and lpz@! https://codereview.chromium.org/2773483003/diff/180001/components/safe_browsing/password_protection/password_protection_request.cc File components/safe_browsing/password_protection/password_protection_request.cc (right): https://codereview.chromium.org/2773483003/diff/180001/components/safe_browsing/password_protection/password_protection_request.cc#newcode55 components/safe_browsing/password_protection/password_protection_request.cc:55: StartTimeout(); On 2017/03/24 15:40:48, lpz ...
3 years, 9 months ago (2017-03-24 18:10:18 UTC) #40
lpz
https://codereview.chromium.org/2773483003/diff/180001/components/safe_browsing/password_protection/password_protection_request.cc File components/safe_browsing/password_protection/password_protection_request.cc (right): https://codereview.chromium.org/2773483003/diff/180001/components/safe_browsing/password_protection/password_protection_request.cc#newcode55 components/safe_browsing/password_protection/password_protection_request.cc:55: StartTimeout(); On 2017/03/24 18:10:18, Jialiu Lin wrote: > On ...
3 years, 9 months ago (2017-03-24 18:55:58 UTC) #41
Jialiu Lin
On 2017/03/24 18:55:58, lpz wrote: > https://codereview.chromium.org/2773483003/diff/180001/components/safe_browsing/password_protection/password_protection_request.cc > File components/safe_browsing/password_protection/password_protection_request.cc > (right): > > https://codereview.chromium.org/2773483003/diff/180001/components/safe_browsing/password_protection/password_protection_request.cc#newcode55 ...
3 years, 9 months ago (2017-03-24 19:10:28 UTC) #42
Steven Holte
histograms lgtm
3 years, 9 months ago (2017-03-24 19:29:16 UTC) #43
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/2773483003/200001
3 years, 9 months ago (2017-03-24 23:30:30 UTC) #46
commit-bot: I haz the power
3 years, 9 months ago (2017-03-25 01:00:10 UTC) #49
Message was sent while issue was closed.
Committed patchset #8 (id:200001) as
https://chromium.googlesource.com/chromium/src/+/1ac305b92081fe7f56daa698d738...

Powered by Google App Engine
This is Rietveld 408576698