Index: net/tools/quic/quic_server.h |
diff --git a/net/tools/quic/quic_server.h b/net/tools/quic/quic_server.h |
index cc0f21593b4899176a431de88166f0c976c4999f..76204d4f8092c8ec8a96710bb52c7f06cc95a3f2 100644 |
--- a/net/tools/quic/quic_server.h |
+++ b/net/tools/quic/quic_server.h |
@@ -68,6 +68,12 @@ class QuicServer : public EpollCallbackInterface { |
crypto_config_.set_strike_register_no_startup_period(); |
} |
+ // SetProofSource sets the ProofSource that will be used to verify the |
+ // server's certificate, and takes ownership of |source|. |
+ void SetProofSource(ProofSource* source) { |
+ crypto_config_.SetProofSource(source); |
+ } |
+ |
bool overflow_supported() { return overflow_supported_; } |
uint32 packets_dropped() { return packets_dropped_; } |