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

Issue 284103003: Domain Reliability: Don't use error code unless request failed (Closed)

Created:
6 years, 7 months ago by Deprecated (see juliatuttle)
Modified:
6 years, 7 months ago
Reviewers:
mmenke
CC:
chromium-reviews
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Domain Reliability: Don't use error code unless request failed I was copying the error code out of the URLRequestStatus of a monitored request whether or not the status was FAILED; in cases where it wasn't, the error would be something random (often QUIC_PROTOCOL_ERROR). This change makes sure that we only copy the error code when we should, and adds a unit test to make sure that beacons for successful requests contain net::OK even if the error field contains something else. BUG=356791 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271038

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -3 lines) Patch
M components/domain_reliability/monitor.cc View 2 chunks +6 lines, -2 lines 0 comments Download
M components/domain_reliability/monitor_unittest.cc View 2 chunks +14 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
Deprecated (see juliatuttle)
PTAL, davidben.
6 years, 7 months ago (2014-05-15 20:48:03 UTC) #1
mmenke
On 2014/05/15 20:48:03, ttuttle wrote: > PTAL, davidben. I'll take over for David on this ...
6 years, 7 months ago (2014-05-16 14:19:32 UTC) #2
Deprecated (see juliatuttle)
On 2014/05/16 14:19:32, mmenke wrote: > On 2014/05/15 20:48:03, ttuttle wrote: > > PTAL, davidben. ...
6 years, 7 months ago (2014-05-16 15:44:26 UTC) #3
Deprecated (see juliatuttle)
The CQ bit was checked by ttuttle@chromium.org
6 years, 7 months ago (2014-05-16 15:44:58 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ttuttle@chromium.org/284103003/1
6 years, 7 months ago (2014-05-16 15:45:32 UTC) #5
commit-bot: I haz the power
6 years, 7 months ago (2014-05-16 16:57:30 UTC) #6
Message was sent while issue was closed.
Change committed as 271038

Powered by Google App Engine
This is Rietveld 408576698