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

Unified Diff: net/tools/quic/quic_simple_server.h

Issue 2295473002: Move the chromium specific QUIC end-to-end tests from net/quic/core (Closed)
Patch Set: cronet iOS Created 4 years, 4 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/core/quic_end_to_end_unittest.cc ('k') | net/tools/quic/quic_simple_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_simple_server.h
diff --git a/net/tools/quic/quic_simple_server.h b/net/tools/quic/quic_simple_server.h
index 5449628de071fe8619fd4276eecce6ed4800e9f4..4b24d9cef7382361f639824559d2660b9e6969a2 100644
--- a/net/tools/quic/quic_simple_server.h
+++ b/net/tools/quic/quic_simple_server.h
@@ -33,9 +33,11 @@ class QuicSimpleServerPeer;
class QuicSimpleServer {
public:
- QuicSimpleServer(std::unique_ptr<ProofSource> proof_source,
- const QuicConfig& config,
- const QuicVersionVector& supported_versions);
+ QuicSimpleServer(
+ std::unique_ptr<ProofSource> proof_source,
+ const QuicConfig& config,
+ const QuicCryptoServerConfig::ConfigOptions& crypto_config_options,
+ const QuicVersionVector& supported_versions);
virtual ~QuicSimpleServer();
@@ -59,6 +61,8 @@ class QuicSimpleServer {
QuicDispatcher* dispatcher() { return dispatcher_.get(); }
+ IPEndPoint server_address() const { return server_address_; }
+
private:
friend class test::QuicSimpleServerPeer;
@@ -85,6 +89,9 @@ class QuicSimpleServer {
// config_ contains non-crypto parameters that are negotiated in the crypto
// handshake.
QuicConfig config_;
+ // crypto_config_ contains crypto parameters that are negotiated in the crypto
+ // handshake.
+ QuicCryptoServerConfig::ConfigOptions crypto_config_options_;
// crypto_config_ contains crypto parameters for the handshake.
QuicCryptoServerConfig crypto_config_;
« no previous file with comments | « net/quic/core/quic_end_to_end_unittest.cc ('k') | net/tools/quic/quic_simple_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698