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

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

Issue 1290723003: Stop including network_interfaces.h from net_util.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: TOT and remove AUTHORS change as it is there already Created 5 years, 4 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
« no previous file with comments | « net/base/network_interfaces_posix.cc ('k') | net/quic/network_connection.cc » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/mdns_client.h" 5 #include "net/dns/mdns_client.h"
6 6
7 #include "net/base/net_errors.h" 7 #include "net/base/net_errors.h"
8 #include "net/base/network_interfaces.h"
8 #include "net/dns/dns_protocol.h" 9 #include "net/dns/dns_protocol.h"
9 #include "net/dns/mdns_client_impl.h" 10 #include "net/dns/mdns_client_impl.h"
10 11
11 namespace net { 12 namespace net {
12 13
13 namespace { 14 namespace {
14 15
15 const char kMDnsMulticastGroupIPv4[] = "224.0.0.251"; 16 const char kMDnsMulticastGroupIPv4[] = "224.0.0.251";
16 const char kMDnsMulticastGroupIPv6[] = "FF02::FB"; 17 const char kMDnsMulticastGroupIPv6[] = "FF02::FB";
17 18
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 int rv = Bind(multicast_addr, interface_index, socket.get()); 94 int rv = Bind(multicast_addr, interface_index, socket.get());
94 if (rv != OK) { 95 if (rv != OK) {
95 socket.reset(); 96 socket.reset();
96 VLOG(1) << "Bind failed, endpoint=" << multicast_addr.ToStringWithoutPort() 97 VLOG(1) << "Bind failed, endpoint=" << multicast_addr.ToStringWithoutPort()
97 << ", error=" << rv; 98 << ", error=" << rv;
98 } 99 }
99 return socket.Pass(); 100 return socket.Pass();
100 } 101 }
101 102
102 } // namespace net 103 } // namespace net
OLDNEW
« no previous file with comments | « net/base/network_interfaces_posix.cc ('k') | net/quic/network_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698