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

Issue 10185007: [net] Change order of RequestPriority to natural: higher > lower (Closed)

Created:
8 years, 8 months ago by szym
Modified:
8 years, 8 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

[net] Change order of RequestPriority to natural: higher > lower BUG=124683 TEST=./net_unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=133766

Patch Set 1 #

Patch Set 2 : More useful DCHECKs. #

Patch Set 3 : Use MINIMUM_PRIORITY instead of 0. #

Total comments: 28

Patch Set 4 : Rebased. Responded to review #

Total comments: 4

Patch Set 5 : Removed left-over comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -113 lines) Patch
M net/base/host_resolver_impl.cc View 1 2 2 chunks +5 lines, -7 lines 0 comments Download
M net/base/prioritized_dispatcher.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M net/base/prioritized_dispatcher.cc View 3 chunks +7 lines, -7 lines 0 comments Download
M net/base/prioritized_dispatcher_unittest.cc View 1 2 3 1 chunk +6 lines, -5 lines 0 comments Download
M net/base/request_priority.h View 1 chunk +5 lines, -4 lines 0 comments Download
M net/http/http_network_transaction.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M net/socket/client_socket_pool_base.cc View 3 chunks +2 lines, -3 lines 0 comments Download
M net/spdy/buffered_spdy_framer.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M net/spdy/buffered_spdy_framer.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M net/spdy/spdy_http_utils.cc View 1 2 3 4 1 chunk +11 lines, -7 lines 0 comments Download
M net/spdy/spdy_io_buffer.h View 1 2 3 2 chunks +6 lines, -6 lines 0 comments Download
M net/spdy/spdy_io_buffer.cc View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M net/spdy/spdy_network_transaction_spdy2_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M net/spdy/spdy_network_transaction_spdy3_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M net/spdy/spdy_session.h View 1 chunk +1 line, -1 line 0 comments Download
M net/spdy/spdy_session.cc View 1 2 3 10 chunks +12 lines, -10 lines 0 comments Download
M net/spdy/spdy_session_spdy2_unittest.cc View 1 2 3 1 chunk +18 lines, -22 lines 0 comments Download
M net/spdy/spdy_session_spdy3_unittest.cc View 1 2 3 1 chunk +18 lines, -22 lines 0 comments Download
M net/spdy/spdy_stream.h View 3 chunks +4 lines, -3 lines 0 comments Download
M net/spdy/spdy_stream.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M net/url_request/url_request.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
szym
mmenke: Please review non-spdy changes. rch+willchan: Please review spdy changes. Note that the new ordering ...
8 years, 8 months ago (2012-04-23 19:36:50 UTC) #1
willchan no longer on Chromium
I'm going to defer to rch. On Mon, Apr 23, 2012 at 12:36 PM, <szym@chromium.org> ...
8 years, 8 months ago (2012-04-23 20:12:13 UTC) #2
Ryan Hamilton
I think this mostly looks good. But my brain is having a hard time in ...
8 years, 8 months ago (2012-04-23 22:51:05 UTC) #3
szym
Thanks a lot for the speedy review. https://chromiumcodereview.appspot.com/10185007/diff/13003/net/base/prioritized_dispatcher.h File net/base/prioritized_dispatcher.h (right): https://chromiumcodereview.appspot.com/10185007/diff/13003/net/base/prioritized_dispatcher.h#newcode16 net/base/prioritized_dispatcher.h:16: // A ...
8 years, 8 months ago (2012-04-24 00:19:31 UTC) #4
Ryan Hamilton
https://chromiumcodereview.appspot.com/10185007/diff/13003/net/spdy/spdy_http_utils.cc File net/spdy/spdy_http_utils.cc (right): https://chromiumcodereview.appspot.com/10185007/diff/13003/net/spdy/spdy_http_utils.cc#newcode150 net/spdy/spdy_http_utils.cc:150: switch (priority) { On 2012/04/24 00:19:31, szym wrote: > ...
8 years, 8 months ago (2012-04-24 00:42:11 UTC) #5
szym
https://chromiumcodereview.appspot.com/10185007/diff/13003/net/spdy/spdy_io_buffer.h File net/spdy/spdy_io_buffer.h (right): https://chromiumcodereview.appspot.com/10185007/diff/13003/net/spdy/spdy_io_buffer.h#newcode27 net/spdy/spdy_io_buffer.h:27: SpdyIOBuffer(IOBuffer* buffer, int size, int priority, SpdyStream* stream); On ...
8 years, 8 months ago (2012-04-24 00:47:57 UTC) #6
mmenke
Just one additional nit. http://codereview.chromium.org/10185007/diff/13003/net/base/prioritized_dispatcher_unittest.cc File net/base/prioritized_dispatcher_unittest.cc (right): http://codereview.chromium.org/10185007/diff/13003/net/base/prioritized_dispatcher_unittest.cc#newcode21 net/base/prioritized_dispatcher_unittest.cc:21: COMPILE_ASSERT(MINIMUM_PRIORITY == 0u && nit: ...
8 years, 8 months ago (2012-04-24 14:30:16 UTC) #7
szym
Rebased. Please, take another look. http://codereview.chromium.org/10185007/diff/23001/net/spdy/spdy_http_utils.cc File net/spdy/spdy_http_utils.cc (right): http://codereview.chromium.org/10185007/diff/23001/net/spdy/spdy_http_utils.cc#newcode130 net/spdy/spdy_http_utils.cc:130: request_priority_incompatible_with_spdy); Please, take a ...
8 years, 8 months ago (2012-04-24 18:15:25 UTC) #8
Ryan Hamilton
lgtm http://codereview.chromium.org/10185007/diff/23001/net/spdy/spdy_http_utils.cc File net/spdy/spdy_http_utils.cc (right): http://codereview.chromium.org/10185007/diff/23001/net/spdy/spdy_http_utils.cc#newcode130 net/spdy/spdy_http_utils.cc:130: request_priority_incompatible_with_spdy); On 2012/04/24 18:15:25, szym wrote: > Please, ...
8 years, 8 months ago (2012-04-24 18:45:35 UTC) #9
mmenke
LGTM as well.
8 years, 8 months ago (2012-04-24 19:23:50 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/szym@chromium.org/10185007/24006
8 years, 8 months ago (2012-04-24 19:28:00 UTC) #11
commit-bot: I haz the power
8 years, 8 months ago (2012-04-24 21:09:09 UTC) #12
Change committed as 133766

Powered by Google App Engine
This is Rietveld 408576698