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

Issue 10828284: Regression test for anti-DDoS bugs in ChromeNetworkDelegate. (Closed)

Created:
8 years, 4 months ago by Jói
Modified:
8 years, 4 months ago
Reviewers:
eroman, Nico
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Regression test for anti-DDoS bugs in ChromeNetworkDelegate. This ensures: a) That when g_never_throttle_requests_ is false, only extension requests may be throttled (rather than the inverse); b) That setting the flag applies to all instances of ChromeNetworkDelegate, not just the one it is set on. If we'd had these tests earlier, they would have prevented the bugs below from being introduced. TBR=thakis@chromium.org BUG=141081, 141643 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=151683

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -0 lines) Patch
M chrome/browser/net/chrome_network_delegate.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
A chrome/browser/net/chrome_network_delegate_unittest.cc View 1 1 chunk +81 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Jói
8 years, 4 months ago (2012-08-13 14:42:17 UTC) #1
Jói
Gentle ping.
8 years, 4 months ago (2012-08-14 13:02:13 UTC) #2
eroman
http://codereview.chromium.org/10828284/diff/1/chrome/browser/net/chrome_network_delegate.h File chrome/browser/net/chrome_network_delegate.h (right): http://codereview.chromium.org/10828284/diff/1/chrome/browser/net/chrome_network_delegate.h#newcode12 chrome/browser/net/chrome_network_delegate.h:12: #include "base/gtest_prod_util.h" Is this necessary? http://codereview.chromium.org/10828284/diff/1/chrome/browser/net/chrome_network_delegate_unittest.cc File chrome/browser/net/chrome_network_delegate_unittest.cc (right): ...
8 years, 4 months ago (2012-08-14 16:41:07 UTC) #3
Jói
Please take another look. Cheers, Jói http://codereview.chromium.org/10828284/diff/1/chrome/browser/net/chrome_network_delegate.h File chrome/browser/net/chrome_network_delegate.h (right): http://codereview.chromium.org/10828284/diff/1/chrome/browser/net/chrome_network_delegate.h#newcode12 chrome/browser/net/chrome_network_delegate.h:12: #include "base/gtest_prod_util.h" On ...
8 years, 4 months ago (2012-08-14 22:17:10 UTC) #4
eroman
lgtm
8 years, 4 months ago (2012-08-14 22:22:43 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joi@chromium.org/10828284/5
8 years, 4 months ago (2012-08-14 22:23:50 UTC) #6
commit-bot: I haz the power
Presubmit check for 10828284-5 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 4 months ago (2012-08-14 22:23:53 UTC) #7
Jói
TBRing to Nico for chrome/OWNERS, this is just a trivial addition of a source file ...
8 years, 4 months ago (2012-08-15 08:39:53 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joi@chromium.org/10828284/5
8 years, 4 months ago (2012-08-15 08:43:03 UTC) #9
commit-bot: I haz the power
Change committed as 151683
8 years, 4 months ago (2012-08-15 11:13:12 UTC) #10
Nico
8 years, 4 months ago (2012-08-15 17:27:15 UTC) #11
gentle lgtm

Powered by Google App Engine
This is Rietveld 408576698