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

Unified Diff: net/quic/core/congestion_control/simulation/port.cc

Issue 2323963002: Implement an event-based simulator for QuicConnection (Closed)
Patch Set: Adding missing files. Created 4 years, 3 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
Index: net/quic/core/congestion_control/simulation/port.cc
diff --git a/net/quic/core/congestion_control/simulation/port.cc b/net/quic/core/congestion_control/simulation/port.cc
new file mode 100644
index 0000000000000000000000000000000000000000..29d21e6af47d47bcb364a4e454f5f9ca3d11883f
--- /dev/null
+++ b/net/quic/core/congestion_control/simulation/port.cc
@@ -0,0 +1,13 @@
+#include "net/quic/core/congestion_control/simulation/port.h"
+
+namespace net {
+namespace simulation {
+
+Packet::Packet()
+ : source(), destination(), tx_timestamp(QuicTime::Zero()), size(0) {}
+
+Endpoint::Endpoint(Simulator* simulator, std::string name)
+ : Actor(simulator, name) {}
+
+} // namespace simulation
+} // namespace net

Powered by Google App Engine
This is Rietveld 408576698