OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2015 The WebRTC Project Authors. All rights reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 #ifndef WEBRTC_BASE_NETWORKMONITOR_H_ | 11 #ifndef WEBRTC_BASE_NETWORKMONITOR_H_ |
12 #define WEBRTC_BASE_NETWORKMONITOR_H_ | 12 #define WEBRTC_BASE_NETWORKMONITOR_H_ |
13 | 13 |
14 #include "webrtc/base/logging.h" | 14 #include "webrtc/base/logging.h" |
15 #include "webrtc/base/scoped_ptr.h" | |
16 #include "webrtc/base/sigslot.h" | 15 #include "webrtc/base/sigslot.h" |
17 #include "webrtc/base/thread.h" | 16 #include "webrtc/base/thread.h" |
18 | 17 |
19 namespace rtc { | 18 namespace rtc { |
20 | 19 |
21 class IPAddress; | 20 class IPAddress; |
22 | 21 |
23 // Error values are negative. | 22 // Error values are negative. |
24 enum NetworkBindingResults { | 23 enum NetworkBindingResults { |
25 NETWORK_BIND_SUCCESS = 0, // No error | 24 NETWORK_BIND_SUCCESS = 0, // No error |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 | 118 |
120 virtual ~NetworkMonitorFactory(); | 119 virtual ~NetworkMonitorFactory(); |
121 | 120 |
122 protected: | 121 protected: |
123 NetworkMonitorFactory(); | 122 NetworkMonitorFactory(); |
124 }; | 123 }; |
125 | 124 |
126 } // namespace rtc | 125 } // namespace rtc |
127 | 126 |
128 #endif // WEBRTC_BASE_NETWORKMONITOR_H_ | 127 #endif // WEBRTC_BASE_NETWORKMONITOR_H_ |
OLD | NEW |