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 #ifndef CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_TRAFFIC_DETECTOR_H_ | 5 #ifndef CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_TRAFFIC_DETECTOR_H_ |
6 #define CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_TRAFFIC_DETECTOR_H_ | 6 #define CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_TRAFFIC_DETECTOR_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/cancelable_callback.h" | 9 #include "base/cancelable_callback.h" |
| 10 #include "base/macros.h" |
10 #include "content/public/browser/browser_thread.h" | 11 #include "content/public/browser/browser_thread.h" |
11 #include "net/base/address_family.h" | 12 #include "net/base/address_family.h" |
12 #include "net/base/ip_endpoint.h" | 13 #include "net/base/ip_endpoint.h" |
13 #include "net/base/network_change_notifier.h" | 14 #include "net/base/network_change_notifier.h" |
14 | 15 |
15 namespace net { | 16 namespace net { |
16 class DatagramServerSocket; | 17 class DatagramServerSocket; |
17 class IOBufferWithSize; | 18 class IOBufferWithSize; |
18 } | 19 } |
19 | 20 |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 int restart_attempts_; | 63 int restart_attempts_; |
63 | 64 |
64 base::WeakPtrFactory<PrivetTrafficDetector> weak_ptr_factory_; | 65 base::WeakPtrFactory<PrivetTrafficDetector> weak_ptr_factory_; |
65 | 66 |
66 DISALLOW_COPY_AND_ASSIGN(PrivetTrafficDetector); | 67 DISALLOW_COPY_AND_ASSIGN(PrivetTrafficDetector); |
67 }; | 68 }; |
68 | 69 |
69 } // namespace local_discovery | 70 } // namespace local_discovery |
70 | 71 |
71 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_TRAFFIC_DETECTOR_H_ | 72 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_TRAFFIC_DETECTOR_H_ |
OLD | NEW |