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

Unified Diff: net/quic/quic_server.h

Issue 1031243002: Unify the QUIC dispatcher and make the QuicServer work. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: QuicChromeServerDispatchPacketTest 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/net.gyp ('k') | net/quic/quic_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_server.h
diff --git a/net/quic/quic_server.h b/net/quic/quic_server.h
index 82d6d4efbd012f9f8264f53b2cc7ae3722cd1b16..f28fc607861d1e15666975ccb03630cc7705f4ae 100644
--- a/net/quic/quic_server.h
+++ b/net/quic/quic_server.h
@@ -25,7 +25,10 @@ namespace test {
class QuicServerPeer;
} // namespace test
+namespace tools {
class QuicDispatcher;
+} // namespace tools
+
class UDPServerSocket;
class QuicServer {
@@ -59,7 +62,7 @@ class QuicServer {
crypto_config_.SetProofSource(source);
}
- QuicDispatcher* dispatcher() { return dispatcher_.get(); }
+ tools::QuicDispatcher* dispatcher() { return dispatcher_.get(); }
private:
friend class net::test::QuicServerPeer;
@@ -68,7 +71,7 @@ class QuicServer {
void Initialize();
// Accepts data from the framer and demuxes clients to sessions.
- scoped_ptr<QuicDispatcher> dispatcher_;
+ scoped_ptr<tools::QuicDispatcher> dispatcher_;
// Used by the helper_ to time alarms.
QuicClock clock_;
« no previous file with comments | « net/net.gyp ('k') | net/quic/quic_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698