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

Issue 2572343002: Use std::function instead of base::Callback in net/http2/. (Closed)

Created:
4 years ago by Bence
Modified:
3 years, 11 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use std::function instead of base::Callback in net/http2/. This CL also lands server change 143046389 by bnc. BUG=488484 Review-Url: https://codereview.chromium.org/2572343002 Cr-Commit-Position: refs/heads/master@{#442895} Committed: https://chromium.googlesource.com/chromium/src/+/317ae39493cd0af9b8fd2bf19804744d487e8412

Patch Set 1 #

Patch Set 2 : Remove unreachable return statements. #

Total comments: 14

Patch Set 3 : Remove redundant comment. #

Patch Set 4 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+363 lines, -582 lines) Patch
M net/http2/decoder/decode_buffer_test.cc View 1 2 6 chunks +34 lines, -62 lines 0 comments Download
M net/http2/decoder/decode_http2_structures_test.cc View 3 chunks +11 lines, -19 lines 0 comments Download
M net/http2/decoder/http2_frame_decoder_test.cc View 1 2 6 chunks +22 lines, -39 lines 0 comments Download
M net/http2/decoder/http2_structure_decoder_test.cc View 4 chunks +10 lines, -17 lines 0 comments Download
M net/http2/decoder/payload_decoders/altsvc_payload_decoder_test.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M net/http2/decoder/payload_decoders/goaway_payload_decoder_test.cc View 2 chunks +5 lines, -10 lines 0 comments Download
M net/http2/decoder/payload_decoders/headers_payload_decoder_test.cc View 3 chunks +5 lines, -9 lines 0 comments Download
M net/http2/decoder/payload_decoders/payload_decoder_base_test_util.h View 9 chunks +47 lines, -71 lines 0 comments Download
M net/http2/decoder/payload_decoders/ping_payload_decoder_test.cc View 3 chunks +4 lines, -9 lines 0 comments Download
M net/http2/decoder/payload_decoders/priority_payload_decoder_test.cc View 3 chunks +4 lines, -9 lines 0 comments Download
M net/http2/decoder/payload_decoders/push_promise_payload_decoder_test.cc View 3 chunks +5 lines, -9 lines 0 comments Download
M net/http2/decoder/payload_decoders/rst_stream_payload_decoder_test.cc View 3 chunks +4 lines, -9 lines 0 comments Download
M net/http2/decoder/payload_decoders/settings_payload_decoder_test.cc View 3 chunks +9 lines, -20 lines 0 comments Download
M net/http2/decoder/payload_decoders/window_update_payload_decoder_test.cc View 3 chunks +4 lines, -8 lines 0 comments Download
M net/http2/hpack/decoder/hpack_block_decoder_test.cc View 1 10 chunks +33 lines, -52 lines 0 comments Download
M net/http2/hpack/decoder/hpack_entry_decoder_test.cc View 8 chunks +45 lines, -76 lines 0 comments Download
M net/http2/hpack/decoder/hpack_entry_type_decoder_test.cc View 4 chunks +13 lines, -23 lines 0 comments Download
M net/http2/hpack/decoder/hpack_string_decoder_test.cc View 2 chunks +19 lines, -26 lines 0 comments Download
M net/http2/hpack/decoder/hpack_varint_decoder_test.cc View 4 chunks +16 lines, -29 lines 0 comments Download
M net/http2/hpack/huffman/http2_hpack_huffman_decoder_test.cc View 2 chunks +7 lines, -15 lines 0 comments Download
M net/http2/tools/random_decoder_test.h View 6 chunks +63 lines, -64 lines 0 comments Download
M net/http2/tools/random_decoder_test.cc View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 21 (15 generated)
Bence
James: PTAL. Thank you.
4 years ago (2016-12-15 13:40:16 UTC) #10
James Synge
lgtm This is a great change, it really reduces the number of diffs enormously. Thanks ...
3 years, 11 months ago (2017-01-05 21:39:05 UTC) #12
Bence
Ryan: PTAL. Thanks. https://codereview.chromium.org/2572343002/diff/20001/net/http2/decoder/decode_buffer_test.cc File net/http2/decoder/decode_buffer_test.cc (right): https://codereview.chromium.org/2572343002/diff/20001/net/http2/decoder/decode_buffer_test.cc#newcode221 net/http2/decoder/decode_buffer_test.cc:221: // Ensure high-bit is set. On ...
3 years, 11 months ago (2017-01-06 01:42:40 UTC) #14
Ryan Hamilton
lgtm
3 years, 11 months ago (2017-01-10 22:48:58 UTC) #15
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/2572343002/60001
3 years, 11 months ago (2017-01-11 13:44:42 UTC) #18
commit-bot: I haz the power
3 years, 11 months ago (2017-01-11 14:15:51 UTC) #21
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/317ae39493cd0af9b8fd2bf19804...

Powered by Google App Engine
This is Rietveld 408576698