OLD | NEW |
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/printing/cloud_print/privet_traffic_detector.h" | 5 #include "chrome/browser/printing/cloud_print/privet_traffic_detector.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include "base/location.h" | 9 #include "base/location.h" |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/metrics/histogram.h" | 11 #include "base/metrics/histogram_macros.h" |
12 #include "base/single_thread_task_runner.h" | 12 #include "base/single_thread_task_runner.h" |
13 #include "base/sys_byteorder.h" | 13 #include "base/sys_byteorder.h" |
14 #include "base/threading/thread_task_runner_handle.h" | 14 #include "base/threading/thread_task_runner_handle.h" |
15 #include "net/base/ip_address.h" | 15 #include "net/base/ip_address.h" |
16 #include "net/base/net_errors.h" | 16 #include "net/base/net_errors.h" |
17 #include "net/base/network_interfaces.h" | 17 #include "net/base/network_interfaces.h" |
18 #include "net/dns/dns_protocol.h" | 18 #include "net/dns/dns_protocol.h" |
19 #include "net/dns/dns_response.h" | 19 #include "net/dns/dns_response.h" |
20 #include "net/dns/mdns_client.h" | 20 #include "net/dns/mdns_client.h" |
21 #include "net/log/net_log.h" | 21 #include "net/log/net_log.h" |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 base::Unretained(this))); | 195 base::Unretained(this))); |
196 } while (rv > 0); | 196 } while (rv > 0); |
197 | 197 |
198 if (rv != net::ERR_IO_PENDING) | 198 if (rv != net::ERR_IO_PENDING) |
199 return rv; | 199 return rv; |
200 | 200 |
201 return net::OK; | 201 return net::OK; |
202 } | 202 } |
203 | 203 |
204 } // namespace cloud_print | 204 } // namespace cloud_print |
OLD | NEW |