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

Unified Diff: net/spdy/hpack/hpack_output_stream.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/spdy/hpack/hpack_input_stream_test.cc ('k') | net/spdy/hpack/hpack_output_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/hpack/hpack_output_stream.h
diff --git a/net/spdy/hpack/hpack_output_stream.h b/net/spdy/hpack/hpack_output_stream.h
index 5063900a5aeb216e0c86d0399165dca41bcfa71c..0c5a013a950328875b2ebbea75b514a481934ca1 100644
--- a/net/spdy/hpack/hpack_output_stream.h
+++ b/net/spdy/hpack/hpack_output_stream.h
@@ -5,10 +5,12 @@
#ifndef NET_SPDY_HPACK_OUTPUT_STREAM_H_
#define NET_SPDY_HPACK_OUTPUT_STREAM_H_
+#include <stddef.h>
+#include <stdint.h>
+
#include <map>
#include <string>
-#include "base/basictypes.h"
#include "base/macros.h"
#include "base/strings/string_piece.h"
#include "net/base/net_export.h"
@@ -30,7 +32,7 @@ class NET_EXPORT_PRIVATE HpackOutputStream {
//
// |bit_size| must be > 0 and <= 8. |bits| must not have any bits
// set other than the lower |bit_size| bits.
- void AppendBits(uint8 bits, size_t bit_size);
+ void AppendBits(uint8_t bits, size_t bit_size);
// Simply forwards to AppendBits(prefix.bits, prefix.bit-size).
void AppendPrefix(HpackPrefix prefix);
@@ -45,7 +47,7 @@ class NET_EXPORT_PRIVATE HpackOutputStream {
//
// It is guaranteed that the internal buffer will end on a byte
// boundary after this function is called.
- void AppendUint32(uint32 I);
+ void AppendUint32(uint32_t I);
// Swaps the interal buffer with |output|.
void TakeString(std::string* output);
« no previous file with comments | « net/spdy/hpack/hpack_input_stream_test.cc ('k') | net/spdy/hpack/hpack_output_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698