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

Issue 1555953002: Adds backoff and Min Wait Duration compliance to Protocolmanager pver4 handlers. (Closed)

Created:
4 years, 11 months ago by kcarattini
Modified:
4 years, 11 months ago
CC:
chromium-reviews, grt+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@osb-pm-2
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adds backoff and Min Wait Duration compliance to ProtocolManager pver4 handlers. BUG=561867 Committed: https://crrev.com/9078b8a7df0bf5ecff5042c4a50377bea4fba407 Cr-Commit-Position: refs/heads/master@{#369089}

Patch Set 1 #

Patch Set 2 : Fix comment #

Patch Set 3 : Rebase #

Patch Set 4 : Rebase #

Total comments: 8

Patch Set 5 : Review COmments #

Total comments: 13

Patch Set 6 : Review COmments #

Patch Set 7 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -5 lines) Patch
M chrome/browser/safe_browsing/protocol_manager.h View 1 2 3 4 5 5 chunks +23 lines, -1 line 0 comments Download
M chrome/browser/safe_browsing/protocol_manager.cc View 1 2 3 4 5 6 7 chunks +57 lines, -4 lines 0 comments Download
M chrome/browser/safe_browsing/protocol_manager_unittest.cc View 1 2 3 4 5 6 4 chunks +74 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 17 (6 generated)
kcarattini
4 years, 11 months ago (2016-01-04 05:40:36 UTC) #3
Nathan Parker
Looks reasonable to me. Can we test that wait_duration is parsed properly, and used? https://codereview.chromium.org/1555953002/diff/60001/chrome/browser/safe_browsing/protocol_manager.cc ...
4 years, 11 months ago (2016-01-07 06:06:58 UTC) #4
kcarattini
Thanks again, Nathan. PTAL. https://codereview.chromium.org/1555953002/diff/60001/chrome/browser/safe_browsing/protocol_manager.cc File chrome/browser/safe_browsing/protocol_manager.cc (right): https://codereview.chromium.org/1555953002/diff/60001/chrome/browser/safe_browsing/protocol_manager.cc#newcode733 chrome/browser/safe_browsing/protocol_manager.cc:733: base::TimeDelta SafeBrowsingProtocolManager::GetNextV4BackOffInterval( On 2016/01/07 06:06:58, ...
4 years, 11 months ago (2016-01-07 06:48:54 UTC) #5
vakh (old account. dont use)
lgtm
4 years, 11 months ago (2016-01-08 00:17:41 UTC) #6
awoz
lgtm
4 years, 11 months ago (2016-01-11 23:00:00 UTC) #7
kcarattini
I think I'm still waiting for an lgtm from Nathan. Thanks, Kendra
4 years, 11 months ago (2016-01-12 01:16:55 UTC) #8
Nathan Parker
lgtm We should certainly run some manual e2e tests of the backoff code, once you've ...
4 years, 11 months ago (2016-01-12 04:14:38 UTC) #9
kcarattini
Thanks for getting back to me! Kendra https://codereview.chromium.org/1555953002/diff/80001/chrome/browser/safe_browsing/protocol_manager.cc File chrome/browser/safe_browsing/protocol_manager.cc (right): https://codereview.chromium.org/1555953002/diff/80001/chrome/browser/safe_browsing/protocol_manager.cc#newcode137 chrome/browser/safe_browsing/protocol_manager.cc:137: // Backoff ...
4 years, 11 months ago (2016-01-12 05:18:07 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1555953002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1555953002/120001
4 years, 11 months ago (2016-01-13 02:54:08 UTC) #13
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 11 months ago (2016-01-13 03:40:58 UTC) #15
commit-bot: I haz the power
4 years, 11 months ago (2016-01-13 03:42:39 UTC) #17
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/9078b8a7df0bf5ecff5042c4a50377bea4fba407
Cr-Commit-Position: refs/heads/master@{#369089}

Powered by Google App Engine
This is Rietveld 408576698