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

Unified Diff: chrome/browser/net/dns_probe_test_util.cc

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « chrome/browser/net/dns_probe_service.h ('k') | chrome/browser/net/file_downloader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/dns_probe_test_util.cc
diff --git a/chrome/browser/net/dns_probe_test_util.cc b/chrome/browser/net/dns_probe_test_util.cc
index 4f9c49d70fc56e9f3efd3b75a9942cc1a7af1d65..5d51a3224f87b5d5356ee27b119a5c8a21119cc9 100644
--- a/chrome/browser/net/dns_probe_test_util.cc
+++ b/chrome/browser/net/dns_probe_test_util.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/net/dns_probe_test_util.h"
+#include <stdint.h>
+
#include "chrome/browser/net/dns_probe_runner.h"
#include "net/dns/dns_config_service.h"
#include "net/dns/dns_protocol.h"
@@ -22,10 +24,10 @@ scoped_ptr<DnsClient> CreateMockDnsClientForProbes(
DnsConfig config;
IPAddressNumber dns_ip;
ParseIPLiteralToNumber("192.168.1.1", &dns_ip);
- const uint16 kDnsPort = net::dns_protocol::kDefaultPort;
+ const uint16_t kDnsPort = net::dns_protocol::kDefaultPort;
config.nameservers.push_back(net::IPEndPoint(dns_ip, kDnsPort));
- const uint16 kTypeA = net::dns_protocol::kTypeA;
+ const uint16_t kTypeA = net::dns_protocol::kTypeA;
MockDnsClientRuleList rules;
rules.push_back(MockDnsClientRule(DnsProbeRunner::kKnownGoodHostname, kTypeA,
result, false));
« no previous file with comments | « chrome/browser/net/dns_probe_service.h ('k') | chrome/browser/net/file_downloader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698