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

Issue 2895993003: Misc cleanup in net/spdy/core. (Closed)

Created:
3 years, 7 months ago by Bence
Modified:
3 years, 7 months ago
Reviewers:
Biren Roy, xunjieli
CC:
chromium-reviews, cbentzel+watch_chromium.org, bnc+watch_chromium.org, net-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Misc cleanup in net/spdy/core. In order to remove some of the differences from the internal codebase: * reorder of declarations/definitions; * remove unnecessary casts, * change C-style casts to static_casts, * remove unnecessary includes, * remove unnecessary TestWithParam base class, * add std:: namespace qualifier, * change virtual to override, * clang-format, * fix and reflow comments, * use SpdyMakeUnique instead of base::MakeUnique. Most of these changes is either to what the internal code is like already, or what the currently under review 156860094 is going to change it. BUG=488484 Review-Url: https://codereview.chromium.org/2895993003 Cr-Commit-Position: refs/heads/master@{#474307} Committed: https://chromium.googlesource.com/chromium/src/+/dd4c4686aac1bfd2230fdabb624da2892eb5e145

Patch Set 1 #

Patch Set 2 : Nits. #

Patch Set 3 : Nit. #

Patch Set 4 : Even more convergence with internal code. #

Patch Set 5 : Rebase. #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+217 lines, -238 lines) Patch
M net/spdy/core/array_output_buffer.h View 2 chunks +3 lines, -2 lines 0 comments Download
M net/spdy/core/array_output_buffer_test.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M net/spdy/core/hpack/hpack_decoder_test.cc View 1 2 3 2 chunks +4 lines, -3 lines 0 comments Download
M net/spdy/core/hpack/hpack_encoder.cc View 1 chunk +0 lines, -1 line 0 comments Download
M net/spdy/core/hpack/hpack_header_table.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M net/spdy/core/hpack/hpack_huffman_table_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/spdy/core/hpack/hpack_input_stream_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/spdy/core/hpack/hpack_output_stream_test.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M net/spdy/core/hpack/hpack_static_table.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/spdy/core/mock_spdy_framer_visitor.h View 1 2 chunks +8 lines, -7 lines 0 comments Download
M net/spdy/core/spdy_deframer_visitor.cc View 1 chunk +0 lines, -1 line 0 comments Download
M net/spdy/core/spdy_deframer_visitor_test.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M net/spdy/core/spdy_frame_builder.h View 1 chunk +1 line, -1 line 0 comments Download
M net/spdy/core/spdy_frame_builder.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M net/spdy/core/spdy_frame_builder_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/spdy/core/spdy_frame_reader.cc View 1 2 3 2 chunks +2 lines, -5 lines 0 comments Download
M net/spdy/core/spdy_frame_reader_test.cc View 1 2 9 chunks +10 lines, -15 lines 0 comments Download
M net/spdy/core/spdy_framer.h View 2 chunks +2 lines, -2 lines 0 comments Download
M net/spdy/core/spdy_framer.cc View 1 2 7 chunks +78 lines, -91 lines 2 comments Download
M net/spdy/core/spdy_framer_decoder_adapter.cc View 1 chunk +1 line, -2 lines 0 comments Download
M net/spdy/core/spdy_framer_test.cc View 1 2 23 chunks +65 lines, -56 lines 0 comments Download
M net/spdy/core/spdy_no_op_visitor.h View 1 chunk +1 line, -1 line 0 comments Download
M net/spdy/core/spdy_no_op_visitor.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/spdy/core/spdy_pinnable_buffer_piece.h View 2 chunks +3 lines, -7 lines 0 comments Download
M net/spdy/core/spdy_pinnable_buffer_piece.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M net/spdy/core/spdy_prefixed_buffer_reader.h View 1 chunk +4 lines, -2 lines 0 comments Download
M net/spdy/core/spdy_prefixed_buffer_reader.cc View 1 chunk +4 lines, -5 lines 0 comments Download
M net/spdy/core/spdy_protocol.h View 4 chunks +3 lines, -5 lines 0 comments Download
M net/spdy/core/spdy_protocol.cc View 2 chunks +1 line, -3 lines 0 comments Download
M net/spdy/core/spdy_test_utils.cc View 2 chunks +10 lines, -10 lines 2 comments Download

Messages

Total messages: 27 (21 generated)
Bence
Biren: PTAL. Thanks.
3 years, 7 months ago (2017-05-23 15:26:59 UTC) #12
Biren Roy
lgtm https://codereview.chromium.org/2895993003/diff/80001/net/spdy/core/spdy_framer.cc File net/spdy/core/spdy_framer.cc (right): https://codereview.chromium.org/2895993003/diff/80001/net/spdy/core/spdy_framer.cc#newcode1051 net/spdy/core/spdy_framer.cc:1051: } break; This line looks weird, but I ...
3 years, 7 months ago (2017-05-24 15:25:10 UTC) #19
Bence
xunjieli: please rubber stamp. Biren: thank you for reviewing. https://codereview.chromium.org/2895993003/diff/80001/net/spdy/core/spdy_framer.cc File net/spdy/core/spdy_framer.cc (right): https://codereview.chromium.org/2895993003/diff/80001/net/spdy/core/spdy_framer.cc#newcode1051 net/spdy/core/spdy_framer.cc:1051: ...
3 years, 7 months ago (2017-05-24 15:38:48 UTC) #21
xunjieli
lgtm
3 years, 7 months ago (2017-05-24 15:49:02 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2895993003/80001
3 years, 7 months ago (2017-05-24 15:53:26 UTC) #24
commit-bot: I haz the power
3 years, 7 months ago (2017-05-24 15:58:58 UTC) #27
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/dd4c4686aac1bfd2230fdabb624d...

Powered by Google App Engine
This is Rietveld 408576698