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

Issue 2353763002: Use refcounted ownership for ValidateClientHelloResultCallback::Result (Closed)

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

Description

Use refcounted ownership for ValidateClientHelloResultCallback::Result This CL switches ValidateClientHelloResultCallback::Result to use refcounted ownership semantics. This has no effect in current code, but will be useful in solving some object lifetime issues as more codepaths are asynchronized. Change to refcounted ownership for ValidateClientHelloResultCallback::Result. No functional change beyond this intended, not flag-protected. Merge internal change: 133129391 R=rch@chromium.org BUG=

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -75 lines) Patch
M net/quic/core/crypto/crypto_server_test.cc View 4 chunks +8 lines, -7 lines 2 comments Download
M net/quic/core/crypto/quic_crypto_server_config.h View 5 chunks +13 lines, -8 lines 0 comments Download
M net/quic/core/crypto/quic_crypto_server_config.cc View 17 chunks +31 lines, -32 lines 2 comments Download
M net/quic/core/quic_crypto_server_stream.h View 3 chunks +3 lines, -3 lines 0 comments Download
M net/quic/core/quic_crypto_server_stream.cc View 3 chunks +11 lines, -10 lines 0 comments Download
M net/quic/test_tools/crypto_test_utils.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M net/quic/test_tools/crypto_test_utils_test.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M net/tools/quic/stateless_rejector.h View 2 chunks +3 lines, -3 lines 0 comments Download
M net/tools/quic/stateless_rejector.cc View 5 chunks +9 lines, -8 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 8 (4 generated)
Jana
4 years, 3 months ago (2016-09-19 22:18:58 UTC) #1
Ryan Hamilton
lgtm, though I do have a question about std::move() https://codereview.chromium.org/2353763002/diff/1/net/quic/core/crypto/crypto_server_test.cc File net/quic/core/crypto/crypto_server_test.cc (right): https://codereview.chromium.org/2353763002/diff/1/net/quic/core/crypto/crypto_server_test.cc#newcode216 net/quic/core/crypto/crypto_server_test.cc:216: ...
4 years, 3 months ago (2016-09-19 22:35:49 UTC) #4
Jana
https://codereview.chromium.org/2353763002/diff/1/net/quic/core/crypto/crypto_server_test.cc File net/quic/core/crypto/crypto_server_test.cc (right): https://codereview.chromium.org/2353763002/diff/1/net/quic/core/crypto/crypto_server_test.cc#newcode216 net/quic/core/crypto/crypto_server_test.cc:216: test_->ProcessValidationResult(std::move(result), should_succeed_, On 2016/09/19 22:35:48, Ryan Hamilton wrote: > ...
4 years, 3 months ago (2016-09-20 21:28:52 UTC) #7
Ryan Hamilton
4 years, 3 months ago (2016-09-20 22:26:38 UTC) #8
lgtm

Powered by Google App Engine
This is Rietveld 408576698