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

Unified Diff: net/tools/quic/quic_socket_utils.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_server_session_test.cc ('k') | net/tools/quic/quic_socket_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_socket_utils.h
diff --git a/net/tools/quic/quic_socket_utils.h b/net/tools/quic/quic_socket_utils.h
index 03b95e5179ee56483475c8bbb25e0812d99fef40..41d3b93ce51fcc99fd4ff348f2a51dff06302758 100644
--- a/net/tools/quic/quic_socket_utils.h
+++ b/net/tools/quic/quic_socket_utils.h
@@ -13,6 +13,7 @@
#include "base/basictypes.h"
#include "net/base/ip_endpoint.h"
+#include "net/quic/quic_bandwidth.h"
#include "net/quic/quic_types.h"
namespace net {
@@ -28,7 +29,7 @@ class QuicSocketUtils {
// If the msghdr contains an SO_RXQ_OVFL entry, this will set dropped_packets
// to the correct value and return true. Otherwise it will return false.
static bool GetOverflowFromMsghdr(struct msghdr *hdr,
- uint32 *dropped_packets);
+ QuicPacketCount *dropped_packets);
// Sets either IP_PKTINFO or IPV6_PKTINFO on the socket, based on
// address_family. Returns the return code from setsockopt.
@@ -52,7 +53,7 @@ class QuicSocketUtils {
static int ReadPacket(int fd,
char* buffer,
size_t buf_len,
- uint32* dropped_packets,
+ QuicPacketCount* dropped_packets,
IPAddressNumber* self_address,
IPEndPoint* peer_address);
« no previous file with comments | « net/tools/quic/quic_server_session_test.cc ('k') | net/tools/quic/quic_socket_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698