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

Unified Diff: net/quic/quic_connection.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/quic_config_test.cc ('k') | net/quic/quic_connection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_connection.h
diff --git a/net/quic/quic_connection.h b/net/quic/quic_connection.h
index 1eaf9e64c98a1b556eeb314b0f4158eaa87a93d6..76bfd347c79d58ccb1ec05c18c9bd35819de092b 100644
--- a/net/quic/quic_connection.h
+++ b/net/quic/quic_connection.h
@@ -17,6 +17,8 @@
#define NET_QUIC_QUIC_CONNECTION_H_
#include <stddef.h>
+#include <stdint.h>
+
#include <deque>
#include <list>
#include <map>
@@ -24,8 +26,8 @@
#include <string>
#include <vector>
-#include "base/basictypes.h"
#include "base/logging.h"
+#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "base/strings/string_piece.h"
#include "net/base/ip_endpoint.h"
@@ -622,7 +624,7 @@ class NET_EXPORT_PRIVATE QuicConnection
// Return the name of the cipher of the primary decrypter of the framer.
const char* cipher_name() const { return framer_.decrypter()->cipher_name(); }
// Return the id of the cipher of the primary decrypter of the framer.
- uint32 cipher_id() const { return framer_.decrypter()->cipher_id(); }
+ uint32_t cipher_id() const { return framer_.decrypter()->cipher_id(); }
std::vector<QuicEncryptedPacket*>* termination_packets() {
return termination_packets_.get();
@@ -807,7 +809,7 @@ class NET_EXPORT_PRIVATE QuicConnection
// Used to store latest peer IP address for IP address migration.
IPAddressNumber migrating_peer_ip_;
// Used to store latest peer port to possibly migrate to later.
- uint16 migrating_peer_port_;
+ uint16_t migrating_peer_port_;
// True if the last packet has gotten far enough in the framer to be
// decrypted.
« no previous file with comments | « net/quic/quic_config_test.cc ('k') | net/quic/quic_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698