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

Side by Side Diff: net/dns/mojo_host_resolver_impl.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 unified diff | Download patch
« no previous file with comments | « net/dns/mock_mdns_socket_factory.cc ('k') | net/dns/notify_watcher_mac.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "net/dns/mojo_host_resolver_impl.h" 5 #include "net/dns/mojo_host_resolver_impl.h"
6 6
7 #include "base/basictypes.h"
8 #include "base/stl_util.h" 7 #include "base/stl_util.h"
9 #include "net/base/address_list.h" 8 #include "net/base/address_list.h"
10 #include "net/base/net_errors.h" 9 #include "net/base/net_errors.h"
11 #include "net/dns/host_resolver.h" 10 #include "net/dns/host_resolver.h"
12 #include "net/dns/mojo_host_type_converters.h" 11 #include "net/dns/mojo_host_type_converters.h"
13 12
14 namespace net { 13 namespace net {
15 14
16 // Handles host resolution for a single request and sends a response when done. 15 // Handles host resolution for a single request and sends a response when done.
17 // Also detects connection errors for HostResolverRequestClient and cancels the 16 // Also detects connection errors for HostResolverRequestClient and cancels the
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 void MojoHostResolverImpl::Job::OnConnectionError() { 125 void MojoHostResolverImpl::Job::OnConnectionError() {
127 DCHECK(thread_checker_.CalledOnValidThread()); 126 DCHECK(thread_checker_.CalledOnValidThread());
128 // |resolver_service_| should always outlive us. 127 // |resolver_service_| should always outlive us.
129 DCHECK(resolver_service_); 128 DCHECK(resolver_service_);
130 DVLOG(1) << "Connection error on request for " 129 DVLOG(1) << "Connection error on request for "
131 << request_info_.host_port_pair().ToString(); 130 << request_info_.host_port_pair().ToString();
132 resolver_service_->DeleteJob(this); 131 resolver_service_->DeleteJob(this);
133 } 132 }
134 133
135 } // namespace net 134 } // namespace net
OLDNEW
« no previous file with comments | « net/dns/mock_mdns_socket_factory.cc ('k') | net/dns/notify_watcher_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698