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

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

Issue 1037403004: Land Recent QUIC Changes until 03/27/2015 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup Created 5 years, 9 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/tools/quic/quic_client.h ('k') | net/tools/quic/quic_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_dispatcher.h
diff --git a/net/tools/quic/quic_dispatcher.h b/net/tools/quic/quic_dispatcher.h
index 380f278f479d56829014011428592a7e214335a1..89b8e7d8674e69e691392d094199b1497c992ce6 100644
--- a/net/tools/quic/quic_dispatcher.h
+++ b/net/tools/quic/quic_dispatcher.h
@@ -69,11 +69,11 @@ class QuicDispatcher : public QuicServerSessionVisitor,
typedef linked_hash_map<QuicBlockedWriterInterface*, bool> WriteBlockedList;
// Due to the way delete_sessions_closure_ is registered, the Dispatcher must
- // live until epoll_server Shutdown. |supported_versions| specifies the list
+ // live until server Shutdown. |supported_versions| specifies the std::list
// of supported QUIC versions. Takes ownership of |packet_writer_factory|,
// which is used to create per-connection writers.
QuicDispatcher(const QuicConfig& config,
- const QuicCryptoServerConfig& crypto_config,
+ const QuicCryptoServerConfig* crypto_config,
const QuicVersionVector& supported_versions,
PacketWriterFactory* packet_writer_factory,
QuicConnectionHelperInterface* helper);
@@ -167,7 +167,9 @@ class QuicDispatcher : public QuicServerSessionVisitor,
const QuicConfig& config() const { return config_; }
- const QuicCryptoServerConfig& crypto_config() const { return crypto_config_; }
+ const QuicCryptoServerConfig* crypto_config() const {
+ return crypto_config_;
+ }
QuicFramer* framer() { return &framer_; }
@@ -210,7 +212,7 @@ class QuicDispatcher : public QuicServerSessionVisitor,
const QuicConfig& config_;
- const QuicCryptoServerConfig& crypto_config_;
+ const QuicCryptoServerConfig* crypto_config_;
// The list of connections waiting to write.
WriteBlockedList write_blocked_list_;
« no previous file with comments | « net/tools/quic/quic_client.h ('k') | net/tools/quic/quic_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698