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

Unified Diff: net/filter/gzip_header.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/filter/gzip_filter.h ('k') | net/filter/gzip_header.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/filter/gzip_header.h
diff --git a/net/filter/gzip_header.h b/net/filter/gzip_header.h
index 986afc44a7bb75ad161122d680dc288d601cd145..91d695522edd19058d2cc0720ca16053d4a60aa1 100644
--- a/net/filter/gzip_header.h
+++ b/net/filter/gzip_header.h
@@ -15,7 +15,9 @@
#ifndef NET_FILTER_GZIP_HEADER_H_
#define NET_FILTER_GZIP_HEADER_H_
-#include "base/basictypes.h"
+#include <stdint.h>
+
+#include "base/macros.h"
namespace net {
@@ -80,11 +82,11 @@ class GZipHeader {
IN_DONE,
};
- static const uint8 magic[]; // gzip magic header
+ static const uint8_t magic[]; // gzip magic header
int state_; // our current State in the parsing FSM: an int so we can ++
- uint8 flags_; // the flags byte of the header ("FLG" in the RFC)
- uint16 extra_length_; // how much of the "extra field" we have yet to read
+ uint8_t flags_; // the flags byte of the header ("FLG" in the RFC)
+ uint16_t extra_length_; // how much of the "extra field" we have yet to read
DISALLOW_COPY_AND_ASSIGN(GZipHeader);
};
« no previous file with comments | « net/filter/gzip_filter.h ('k') | net/filter/gzip_header.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698