| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2013 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2013 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_RTC_BASE_ASYNCRESOLVERINTERFACE_H_ | 11 #ifndef WEBRTC_RTC_BASE_ASYNCRESOLVERINTERFACE_H_ |
| 12 #define WEBRTC_RTC_BASE_ASYNCRESOLVERINTERFACE_H_ | 12 #define WEBRTC_RTC_BASE_ASYNCRESOLVERINTERFACE_H_ |
| 13 | 13 |
| 14 #include "webrtc/base/sigslot.h" | 14 #include "webrtc/rtc_base/sigslot.h" |
| 15 #include "webrtc/base/socketaddress.h" | 15 #include "webrtc/rtc_base/socketaddress.h" |
| 16 | 16 |
| 17 namespace rtc { | 17 namespace rtc { |
| 18 | 18 |
| 19 // This interface defines the methods to resolve the address asynchronously. | 19 // This interface defines the methods to resolve the address asynchronously. |
| 20 class AsyncResolverInterface { | 20 class AsyncResolverInterface { |
| 21 public: | 21 public: |
| 22 AsyncResolverInterface(); | 22 AsyncResolverInterface(); |
| 23 virtual ~AsyncResolverInterface(); | 23 virtual ~AsyncResolverInterface(); |
| 24 | 24 |
| 25 // Start address resolve process. | 25 // Start address resolve process. |
| (...skipping 12 matching lines...) Expand all Loading... |
| 38 return addr; | 38 return addr; |
| 39 } | 39 } |
| 40 | 40 |
| 41 // This signal is fired when address resolve process is completed. | 41 // This signal is fired when address resolve process is completed. |
| 42 sigslot::signal1<AsyncResolverInterface*> SignalDone; | 42 sigslot::signal1<AsyncResolverInterface*> SignalDone; |
| 43 }; | 43 }; |
| 44 | 44 |
| 45 } // namespace rtc | 45 } // namespace rtc |
| 46 | 46 |
| 47 #endif | 47 #endif |
| OLD | NEW |