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

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

Issue 761903003: Update from https://crrev.com/306655 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_server.h
diff --git a/net/tools/quic/quic_server.h b/net/tools/quic/quic_server.h
index 980f9ba29ed07872f6bbd46eae3092ba039dbff7..f8a5533138e1ffbb69bda30442e91df80571c5eb 100644
--- a/net/tools/quic/quic_server.h
+++ b/net/tools/quic/quic_server.h
@@ -58,7 +58,7 @@ class QuicServer : public EpollCallbackInterface {
// dropped packets.
static bool ReadAndDispatchSinglePacket(int fd, int port,
ProcessPacketInterface* processor,
- uint32* packets_dropped);
+ QuicPacketCount* packets_dropped);
void OnShutdown(EpollServer* eps, int fd) override {}
@@ -74,7 +74,7 @@ class QuicServer : public EpollCallbackInterface {
bool overflow_supported() { return overflow_supported_; }
- uint32 packets_dropped() { return packets_dropped_; }
+ QuicPacketCount packets_dropped() { return packets_dropped_; }
int port() { return port_; }
@@ -110,7 +110,7 @@ class QuicServer : public EpollCallbackInterface {
// If overflow_supported_ is true this will be the number of packets dropped
// during the lifetime of the server. This may overflow if enough packets
// are dropped.
- uint32 packets_dropped_;
+ QuicPacketCount packets_dropped_;
// True if the kernel supports SO_RXQ_OVFL, the number of packets dropped
// because the socket would otherwise overflow.
« no previous file with comments | « net/tools/quic/quic_client.h ('k') | net/tools/quic/quic_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698