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

Unified Diff: net/http/http_server_properties.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/http/http_security_headers_unittest.cc ('k') | net/http/http_server_properties_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_server_properties.h
diff --git a/net/http/http_server_properties.h b/net/http/http_server_properties.h
index 983828aa8092fc8a4188f202d343f91cadf82579..85b7285acb232a01ba9c9b9a8534e1b29164f185 100644
--- a/net/http/http_server_properties.h
+++ b/net/http/http_server_properties.h
@@ -5,13 +5,15 @@
#ifndef NET_HTTP_HTTP_SERVER_PROPERTIES_H_
#define NET_HTTP_HTTP_SERVER_PROPERTIES_H_
+#include <stdint.h>
+
#include <map>
#include <string>
#include <tuple>
#include <vector>
-#include "base/basictypes.h"
#include "base/containers/mru_cache.h"
+#include "base/macros.h"
#include "base/memory/weak_ptr.h"
#include "base/time/time.h"
#include "net/base/host_port_pair.h"
@@ -101,7 +103,7 @@ struct NET_EXPORT AlternativeService {
AlternativeService(AlternateProtocol protocol,
const std::string& host,
- uint16 port)
+ uint16_t port)
: protocol(protocol), host(host), port(port) {}
AlternativeService(AlternateProtocol protocol,
@@ -134,7 +136,7 @@ struct NET_EXPORT AlternativeService {
AlternateProtocol protocol;
std::string host;
- uint16 port;
+ uint16_t port;
};
struct NET_EXPORT AlternativeServiceInfo {
@@ -149,7 +151,7 @@ struct NET_EXPORT AlternativeServiceInfo {
AlternativeServiceInfo(AlternateProtocol protocol,
const std::string& host,
- uint16 port,
+ uint16_t port,
double probability,
base::Time expiration)
: alternative_service(protocol, host, port),
@@ -342,7 +344,7 @@ class NET_EXPORT HttpServerProperties {
virtual bool SetSpdySetting(const HostPortPair& host_port_pair,
SpdySettingsIds id,
SpdySettingsFlags flags,
- uint32 value) = 0;
+ uint32_t value) = 0;
// Clears all SPDY settings for a host.
virtual void ClearSpdySettings(const HostPortPair& host_port_pair) = 0;
« no previous file with comments | « net/http/http_security_headers_unittest.cc ('k') | net/http/http_server_properties_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698