| 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 #include <map> | 11 #include <map> |
| 12 #include <set> | 12 #include <set> |
| 13 #include <string> | 13 #include <string> |
| 14 | 14 |
| 15 #include "webrtc/base/asyncpacketsocket.h" | 15 #include "webrtc/base/asyncpacketsocket.h" |
| 16 #include "webrtc/base/asyncresolverinterface.h" | 16 #include "webrtc/base/asyncresolverinterface.h" |
| 17 #include "webrtc/base/bind.h" | 17 #include "webrtc/base/bind.h" |
| 18 #include "webrtc/base/checks.h" | 18 #include "webrtc/base/checks.h" |
| 19 #include "webrtc/base/constructormagic.h" |
| 19 #include "webrtc/base/helpers.h" | 20 #include "webrtc/base/helpers.h" |
| 20 #include "webrtc/base/logging.h" | 21 #include "webrtc/base/logging.h" |
| 21 #include "webrtc/base/timeutils.h" | 22 #include "webrtc/base/timeutils.h" |
| 22 #include "webrtc/base/thread.h" | 23 #include "webrtc/base/thread.h" |
| 23 #include "webrtc/p2p/base/packetsocketfactory.h" | 24 #include "webrtc/p2p/base/packetsocketfactory.h" |
| 24 #include "webrtc/p2p/base/stun.h" | 25 #include "webrtc/p2p/base/stun.h" |
| 25 #include "webrtc/p2p/stunprober/stunprober.h" | 26 #include "webrtc/p2p/stunprober/stunprober.h" |
| 26 | 27 |
| 27 namespace stunprober { | 28 namespace stunprober { |
| 28 | 29 |
| (...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 561 } | 562 } |
| 562 } | 563 } |
| 563 | 564 |
| 564 void StunProber::ReportOnFinished(StunProber::Status status) { | 565 void StunProber::ReportOnFinished(StunProber::Status status) { |
| 565 if (observer_) { | 566 if (observer_) { |
| 566 observer_->OnFinished(this, status); | 567 observer_->OnFinished(this, status); |
| 567 } | 568 } |
| 568 } | 569 } |
| 569 | 570 |
| 570 } // namespace stunprober | 571 } // namespace stunprober |
| OLD | NEW |