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

Issue 12989038: [SPDY] Remove some setters in SpdyStream (Closed)

Created:
7 years, 9 months ago by akalin
Modified:
7 years, 9 months ago
Reviewers:
Ryan Hamilton
CC:
chromium-reviews, cbentzel+watch_chromium.org
Visibility:
Public.

Description

[SPDY] Remove some setters in SpdyStream Instead pass parameters into SpdyStream's constructor. This simplifies SpdyStream, as we can now be sure that its priority is fixed. Add function to convert from SpdyPriority to RequestPriority, and use them to set the correct priority for push streams. Replace uses of Unretained() with weak pointers. BUG=176582 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=190481

Patch Set 1 #

Total comments: 9

Patch Set 2 : Address comments #

Patch Set 3 : Address comments #

Patch Set 4 : Address comments #

Patch Set 5 : Removed DISALLOW_COPY_AND_ASSIGN again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -43 lines) Patch
M net/spdy/spdy_http_utils.h View 2 chunks +5 lines, -0 lines 0 comments Download
M net/spdy/spdy_http_utils.cc View 1 1 chunk +10 lines, -0 lines 0 comments Download
M net/spdy/spdy_http_utils_unittest.cc View 4 chunks +30 lines, -3 lines 0 comments Download
M net/spdy/spdy_session.h View 3 4 1 chunk +0 lines, -3 lines 0 comments Download
M net/spdy/spdy_session.cc View 4 chunks +13 lines, -14 lines 0 comments Download
M net/spdy/spdy_session_spdy2_unittest.cc View 2 chunks +5 lines, -1 line 0 comments Download
M net/spdy/spdy_session_spdy3_unittest.cc View 2 chunks +5 lines, -1 line 0 comments Download
M net/spdy/spdy_stream.h View 4 chunks +9 lines, -10 lines 0 comments Download
M net/spdy/spdy_stream.cc View 3 chunks +12 lines, -5 lines 0 comments Download
M net/spdy/spdy_stream_spdy2_unittest.cc View 2 chunks +9 lines, -3 lines 0 comments Download
M net/spdy/spdy_stream_spdy3_unittest.cc View 2 chunks +9 lines, -3 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
akalin
+rch for review
7 years, 9 months ago (2013-03-24 06:20:33 UTC) #1
Ryan Hamilton
https://codereview.chromium.org/12989038/diff/1/net/spdy/spdy_http_utils.cc File net/spdy/spdy_http_utils.cc (right): https://codereview.chromium.org/12989038/diff/1/net/spdy/spdy_http_utils.cc#newcode153 net/spdy/spdy_http_utils.cc:153: // Handle invalid values gracefully, and pick LOW to ...
7 years, 9 months ago (2013-03-24 15:08:40 UTC) #2
akalin
PTAL Trybots are wigging out (the tests pass but they're still marked as red). https://codereview.chromium.org/12989038/diff/1/net/spdy/spdy_http_utils.cc ...
7 years, 9 months ago (2013-03-24 19:24:53 UTC) #3
Ryan Hamilton
https://codereview.chromium.org/12989038/diff/1/net/spdy/spdy_session.h File net/spdy/spdy_session.h (left): https://codereview.chromium.org/12989038/diff/1/net/spdy/spdy_session.h#oldcode203 net/spdy/spdy_session.h:203: DISALLOW_COPY_AND_ASSIGN(SpdyIOBufferProducer); On 2013/03/24 19:24:53, akalin wrote: > On 2013/03/24 ...
7 years, 9 months ago (2013-03-25 17:07:47 UTC) #4
akalin
PTAL! https://codereview.chromium.org/12989038/diff/1/net/spdy/spdy_session.h File net/spdy/spdy_session.h (left): https://codereview.chromium.org/12989038/diff/1/net/spdy/spdy_session.h#oldcode203 net/spdy/spdy_session.h:203: DISALLOW_COPY_AND_ASSIGN(SpdyIOBufferProducer); On 2013/03/25 17:07:47, Ryan Hamilton wrote: > ...
7 years, 9 months ago (2013-03-25 19:24:48 UTC) #5
akalin
Oops, did some digging, looks like DISALLOW_COPY_AND_ASSIGN is intended only for concrete classes. I'll see ...
7 years, 9 months ago (2013-03-25 19:33:56 UTC) #6
Ryan Hamilton
lgtm
7 years, 9 months ago (2013-03-25 19:38:45 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/akalin@chromium.org/12989038/19001
7 years, 9 months ago (2013-03-25 19:44:09 UTC) #8
akalin
7 years, 9 months ago (2013-03-25 21:11:19 UTC) #9
Message was sent while issue was closed.
Committed patchset #5 manually as r190481 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698