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

Unified Diff: net/http/http_stream_factory.cc

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_stream_factory.h ('k') | net/http/http_stream_factory_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_stream_factory.cc
diff --git a/net/http/http_stream_factory.cc b/net/http/http_stream_factory.cc
index 0038a8a3836b6d7e1dcc7cea88a24010bd95f0cd..d6d76b453c8e82d124d474ad7c844d3f5a1f5ade 100644
--- a/net/http/http_stream_factory.cc
+++ b/net/http/http_stream_factory.cc
@@ -59,7 +59,7 @@ void HttpStreamFactory::ProcessAlternativeService(
if (protocol == QUIC && !alternative_service_entry.version.empty()) {
bool match_found = false;
for (QuicVersion supported : session.params().quic_supported_versions) {
- for (uint16 advertised : alternative_service_entry.version) {
+ for (uint16_t advertised : alternative_service_entry.version) {
if (supported == advertised) {
match_found = true;
break;
@@ -152,8 +152,8 @@ void HttpStreamFactory::ProcessAlternateProtocol(
http_server_properties->SetAlternativeService(
RewriteHost(http_host_port_pair),
- AlternativeService(protocol, "", static_cast<uint16>(port)), probability,
- base::Time::Now() + base::TimeDelta::FromDays(30));
+ AlternativeService(protocol, "", static_cast<uint16_t>(port)),
+ probability, base::Time::Now() + base::TimeDelta::FromDays(30));
}
GURL HttpStreamFactory::ApplyHostMappingRules(const GURL& url,
« no previous file with comments | « net/http/http_stream_factory.h ('k') | net/http/http_stream_factory_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698