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

Unified Diff: net/quic/spdy_utils.h

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 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/quic/reliable_quic_stream_test.cc ('k') | net/quic/spdy_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/spdy_utils.h
diff --git a/net/quic/spdy_utils.h b/net/quic/spdy_utils.h
index 8c50cf22503f3c7814d7109bf6db3a4d0cf929cb..b0d8a597d7661cdfa73862005e9ea349d86c97f5 100644
--- a/net/quic/spdy_utils.h
+++ b/net/quic/spdy_utils.h
@@ -5,9 +5,13 @@
#ifndef NET_QUIC_SPDY_UTILS_H_
#define NET_QUIC_SPDY_UTILS_H_
+#include <stddef.h>
+#include <stdint.h>
+
#include <map>
#include <string>
+#include "base/macros.h"
#include "net/base/net_export.h"
#include "net/quic/quic_protocol.h"
#include "net/spdy/spdy_framer.h"
@@ -25,7 +29,7 @@ class NET_EXPORT_PRIVATE SpdyUtils {
// header if one or more are present.
// Returns true on success, false if parsing fails, or invalid keys are found.
static bool ParseHeaders(const char* data,
- uint32 data_len,
+ uint32_t data_len,
int* content_length,
SpdyHeaderBlock* headers);
@@ -35,7 +39,7 @@ class NET_EXPORT_PRIVATE SpdyUtils {
// value will be copied to |final_byte_offset|.
// Returns true on success, false if parsing fails, or invalid keys are found.
static bool ParseTrailers(const char* data,
- uint32 data_len,
+ uint32_t data_len,
size_t* final_byte_offset,
SpdyHeaderBlock* trailers);
« no previous file with comments | « net/quic/reliable_quic_stream_test.cc ('k') | net/quic/spdy_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698