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

Side by Side Diff: net/dns/host_resolver_impl.cc

Issue 2508593002: net: move udp directory into socket (Closed)
Patch Set: revert sys/socket.h change Created 4 years, 1 month 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/dns_transaction.cc ('k') | net/dns/mdns_client_impl.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/host_resolver_impl.h" 5 #include "net/dns/host_resolver_impl.h"
6 6
7 #if defined(OS_WIN) 7 #if defined(OS_WIN)
8 #include <Winsock2.h> 8 #include <Winsock2.h>
9 #elif defined(OS_POSIX) 9 #elif defined(OS_POSIX)
10 #include <netdb.h> 10 #include <netdb.h>
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 #include "net/dns/dns_util.h" 55 #include "net/dns/dns_util.h"
56 #include "net/dns/host_resolver_proc.h" 56 #include "net/dns/host_resolver_proc.h"
57 #include "net/log/net_log.h" 57 #include "net/log/net_log.h"
58 #include "net/log/net_log_capture_mode.h" 58 #include "net/log/net_log_capture_mode.h"
59 #include "net/log/net_log_event_type.h" 59 #include "net/log/net_log_event_type.h"
60 #include "net/log/net_log_parameters_callback.h" 60 #include "net/log/net_log_parameters_callback.h"
61 #include "net/log/net_log_source.h" 61 #include "net/log/net_log_source.h"
62 #include "net/log/net_log_source_type.h" 62 #include "net/log/net_log_source_type.h"
63 #include "net/log/net_log_with_source.h" 63 #include "net/log/net_log_with_source.h"
64 #include "net/socket/client_socket_factory.h" 64 #include "net/socket/client_socket_factory.h"
65 #include "net/udp/datagram_client_socket.h" 65 #include "net/socket/datagram_client_socket.h"
66 #include "url/url_canon_ip.h" 66 #include "url/url_canon_ip.h"
67 67
68 #if defined(OS_WIN) 68 #if defined(OS_WIN)
69 #include "net/base/winsock_init.h" 69 #include "net/base/winsock_init.h"
70 #endif 70 #endif
71 71
72 namespace net { 72 namespace net {
73 73
74 namespace { 74 namespace {
75 75
(...skipping 2533 matching lines...) Expand 10 before | Expand all | Expand 10 after
2609 if (job_) 2609 if (job_)
2610 job_->CancelRequest(this); 2610 job_->CancelRequest(this);
2611 } 2611 }
2612 2612
2613 void HostResolverImpl::RequestImpl::ChangeRequestPriority( 2613 void HostResolverImpl::RequestImpl::ChangeRequestPriority(
2614 RequestPriority priority) { 2614 RequestPriority priority) {
2615 job_->ChangeRequestPriority(this, priority); 2615 job_->ChangeRequestPriority(this, priority);
2616 } 2616 }
2617 2617
2618 } // namespace net 2618 } // namespace net
OLDNEW
« no previous file with comments | « net/dns/dns_transaction.cc ('k') | net/dns/mdns_client_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698