Index: net/quic/test_tools/quic_config_peer.cc |
diff --git a/net/quic/test_tools/quic_config_peer.cc b/net/quic/test_tools/quic_config_peer.cc |
index 6c0daa70ecae3c2d969a09f55660ba4445bd2ed7..1dac69d5d03d1503adbf3eb1e2d4c9e1920d243c 100644 |
--- a/net/quic/test_tools/quic_config_peer.cc |
+++ b/net/quic/test_tools/quic_config_peer.cc |
@@ -42,6 +42,7 @@ void QuicConfigPeer::SetReceivedConnectionOptions( |
// static |
void QuicConfigPeer::SetReceivedBytesForConnectionId(QuicConfig* config, |
uint32_t bytes) { |
+ DCHECK(bytes == 0 || bytes == 8); |
config->bytes_for_connection_id_.SetReceivedValue(bytes); |
} |