|
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
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
|
Total messages: 27 (21 generated)
|