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

Side by Side Diff: components/network_hints/browser/network_hints_message_filter.cc

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 4 years, 12 months 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/network_hints/browser/network_hints_message_filter.h" 5 #include "components/network_hints/browser/network_hints_message_filter.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/macros.h"
8 #include "components/network_hints/common/network_hints_common.h" 9 #include "components/network_hints/common/network_hints_common.h"
9 #include "components/network_hints/common/network_hints_messages.h" 10 #include "components/network_hints/common/network_hints_messages.h"
10 #include "ipc/ipc_message_macros.h" 11 #include "ipc/ipc_message_macros.h"
11 #include "net/base/address_list.h" 12 #include "net/base/address_list.h"
12 #include "net/base/net_errors.h" 13 #include "net/base/net_errors.h"
13 #include "net/dns/host_resolver.h" 14 #include "net/dns/host_resolver.h"
14 #include "net/dns/single_request_host_resolver.h" 15 #include "net/dns/single_request_host_resolver.h"
15 #include "url/gurl.h" 16 #include "url/gurl.h"
16 17
17 namespace network_hints { 18 namespace network_hints {
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 DCHECK(host_resolver_); 87 DCHECK(host_resolver_);
87 for (const std::string& hostname : lookup_request.hostname_list) { 88 for (const std::string& hostname : lookup_request.hostname_list) {
88 DnsLookupRequest* request = new DnsLookupRequest(host_resolver_, hostname); 89 DnsLookupRequest* request = new DnsLookupRequest(host_resolver_, hostname);
89 // Note: DnsLookupRequest will be freed by the base::Owned call when 90 // Note: DnsLookupRequest will be freed by the base::Owned call when
90 // resolving has completed. 91 // resolving has completed.
91 request->Start(); 92 request->Start();
92 } 93 }
93 } 94 }
94 95
95 } // namespace network_hints 96 } // namespace network_hints
OLDNEW
« no previous file with comments | « components/net_log/net_log_temp_file_unittest.cc ('k') | components/network_hints/common/network_hints_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698