Index: net/quic/test_tools/crypto_test_utils.cc |
diff --git a/net/quic/test_tools/crypto_test_utils.cc b/net/quic/test_tools/crypto_test_utils.cc |
index ef27df0338aa286ae04731264ae51d73c96e59a2..4834dec481069c6535b45db8248deec047dea150 100644 |
--- a/net/quic/test_tools/crypto_test_utils.cc |
+++ b/net/quic/test_tools/crypto_test_utils.cc |
@@ -175,7 +175,7 @@ int CryptoTestUtils::HandshakeWithFakeClient( |
// crypto_config.SetProofVerifier(ProofVerifierForTesting()); |
// } |
if (options.channel_id_enabled) { |
- crypto_config.SetChannelIDSigner(ChannelIDSignerForTesting()); |
+ crypto_config.SetChannelIDSource(ChannelIDSourceForTesting()); |
} |
QuicServerId server_id(kServerHostname, kServerPort, false, |
PRIVACY_MODE_DISABLED); |
@@ -191,9 +191,11 @@ int CryptoTestUtils::HandshakeWithFakeClient( |
CompareClientAndServerKeys(&client, server); |
if (options.channel_id_enabled) { |
- EXPECT_EQ( |
- crypto_config.channel_id_signer()->GetKeyForHostname(kServerHostname), |
- server->crypto_negotiated_params().channel_id); |
+ scoped_ptr<ChannelIDKey> channel_id_key; |
+ EXPECT_TRUE(crypto_config.channel_id_source()->GetChannelIDKey( |
+ kServerHostname, &channel_id_key)); |
+ EXPECT_EQ(channel_id_key->SerializeKey(), |
+ server->crypto_negotiated_params().channel_id); |
} |
return client.num_sent_client_hellos(); |