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

Side by Side Diff: chrome/browser/local_discovery/privet_traffic_detector.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
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 "chrome/browser/local_discovery/privet_traffic_detector.h" 5 #include "chrome/browser/local_discovery/privet_traffic_detector.h"
6 6
7 #include "base/location.h" 7 #include "base/location.h"
8 #include "base/metrics/histogram.h" 8 #include "base/metrics/histogram.h"
9 #include "base/single_thread_task_runner.h" 9 #include "base/single_thread_task_runner.h"
10 #include "base/sys_byteorder.h" 10 #include "base/sys_byteorder.h"
11 #include "net/base/dns_util.h" 11 #include "net/base/dns_util.h"
12 #include "net/base/net_errors.h" 12 #include "net/base/net_errors.h"
13 #include "net/base/network_interfaces.h"
13 #include "net/dns/dns_protocol.h" 14 #include "net/dns/dns_protocol.h"
14 #include "net/dns/dns_response.h" 15 #include "net/dns/dns_response.h"
15 #include "net/dns/mdns_client.h" 16 #include "net/dns/mdns_client.h"
16 #include "net/log/net_log.h" 17 #include "net/log/net_log.h"
17 #include "net/udp/datagram_server_socket.h" 18 #include "net/udp/datagram_server_socket.h"
18 #include "net/udp/udp_server_socket.h" 19 #include "net/udp/udp_server_socket.h"
19 20
20 namespace { 21 namespace {
21 22
22 const int kMaxRestartAttempts = 10; 23 const int kMaxRestartAttempts = 10;
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 base::Unretained(this))); 192 base::Unretained(this)));
192 } while (rv > 0); 193 } while (rv > 0);
193 194
194 if (rv != net::ERR_IO_PENDING) 195 if (rv != net::ERR_IO_PENDING)
195 return rv; 196 return rv;
196 197
197 return net::OK; 198 return net::OK;
198 } 199 }
199 200
200 } // namespace local_discovery 201 } // namespace local_discovery
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/dial/dial_service_unittest.cc ('k') | chrome/browser/media/webrtc_logging_handler_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698