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

Unified Diff: net/quic/test_tools/crypto_test_utils.cc

Issue 320663002: Change the prototype of ChannelIDSource::GetChannelIDKey() to allow an (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Remove unrelated changes Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/test_tools/crypto_test_utils.h ('k') | net/quic/test_tools/crypto_test_utils_nss.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/test_tools/crypto_test_utils.cc
===================================================================
--- net/quic/test_tools/crypto_test_utils.cc (revision 275522)
+++ net/quic/test_tools/crypto_test_utils.cc (working copy)
@@ -192,8 +192,11 @@
if (options.channel_id_enabled) {
scoped_ptr<ChannelIDKey> channel_id_key;
- EXPECT_TRUE(crypto_config.channel_id_source()->GetChannelIDKey(
- kServerHostname, &channel_id_key));
+ QuicAsyncStatus status =
+ crypto_config.channel_id_source()->GetChannelIDKey(kServerHostname,
+ &channel_id_key,
+ NULL);
+ EXPECT_EQ(QUIC_SUCCESS, status);
EXPECT_EQ(channel_id_key->SerializeKey(),
server->crypto_negotiated_params().channel_id);
}
« no previous file with comments | « net/quic/test_tools/crypto_test_utils.h ('k') | net/quic/test_tools/crypto_test_utils_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698