| OLD | NEW | 
|    1 /* |    1 /* | 
|    2  *  Copyright 2004 The WebRTC Project Authors. All rights reserved. |    2  *  Copyright 2004 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_P2P_BASE_PORT_H_ |   11 #ifndef WEBRTC_P2P_BASE_PORT_H_ | 
|   12 #define WEBRTC_P2P_BASE_PORT_H_ |   12 #define WEBRTC_P2P_BASE_PORT_H_ | 
|   13  |   13  | 
|   14 #include <map> |   14 #include <map> | 
|   15 #include <memory> |   15 #include <memory> | 
|   16 #include <set> |   16 #include <set> | 
|   17 #include <string> |   17 #include <string> | 
|   18 #include <vector> |   18 #include <vector> | 
|   19  |   19  | 
|   20 #include "webrtc/base/asyncpacketsocket.h" |  | 
|   21 #include "webrtc/base/checks.h" |  | 
|   22 #include "webrtc/base/network.h" |  | 
|   23 #include "webrtc/base/optional.h" |  | 
|   24 #include "webrtc/base/proxyinfo.h" |  | 
|   25 #include "webrtc/base/ratetracker.h" |  | 
|   26 #include "webrtc/base/sigslot.h" |  | 
|   27 #include "webrtc/base/socketaddress.h" |  | 
|   28 #include "webrtc/base/thread.h" |  | 
|   29 #include "webrtc/p2p/base/candidate.h" |   20 #include "webrtc/p2p/base/candidate.h" | 
|   30 #include "webrtc/p2p/base/candidatepairinterface.h" |   21 #include "webrtc/p2p/base/candidatepairinterface.h" | 
|   31 #include "webrtc/p2p/base/jseptransport.h" |   22 #include "webrtc/p2p/base/jseptransport.h" | 
|   32 #include "webrtc/p2p/base/packetlossestimator.h" |   23 #include "webrtc/p2p/base/packetlossestimator.h" | 
|   33 #include "webrtc/p2p/base/packetsocketfactory.h" |   24 #include "webrtc/p2p/base/packetsocketfactory.h" | 
|   34 #include "webrtc/p2p/base/portinterface.h" |   25 #include "webrtc/p2p/base/portinterface.h" | 
|   35 #include "webrtc/p2p/base/stun.h" |   26 #include "webrtc/p2p/base/stun.h" | 
|   36 #include "webrtc/p2p/base/stunrequest.h" |   27 #include "webrtc/p2p/base/stunrequest.h" | 
 |   28 #include "webrtc/rtc_base/asyncpacketsocket.h" | 
 |   29 #include "webrtc/rtc_base/checks.h" | 
 |   30 #include "webrtc/rtc_base/network.h" | 
 |   31 #include "webrtc/rtc_base/optional.h" | 
 |   32 #include "webrtc/rtc_base/proxyinfo.h" | 
 |   33 #include "webrtc/rtc_base/ratetracker.h" | 
 |   34 #include "webrtc/rtc_base/sigslot.h" | 
 |   35 #include "webrtc/rtc_base/socketaddress.h" | 
 |   36 #include "webrtc/rtc_base/thread.h" | 
|   37  |   37  | 
|   38 namespace cricket { |   38 namespace cricket { | 
|   39  |   39  | 
|   40 class Connection; |   40 class Connection; | 
|   41 class ConnectionRequest; |   41 class ConnectionRequest; | 
|   42  |   42  | 
|   43 extern const char LOCAL_PORT_TYPE[]; |   43 extern const char LOCAL_PORT_TYPE[]; | 
|   44 extern const char STUN_PORT_TYPE[]; |   44 extern const char STUN_PORT_TYPE[]; | 
|   45 extern const char PRFLX_PORT_TYPE[]; |   45 extern const char PRFLX_PORT_TYPE[]; | 
|   46 extern const char RELAY_PORT_TYPE[]; |   46 extern const char RELAY_PORT_TYPE[]; | 
| (...skipping 696 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  743            const rtc::PacketOptions& options) override; |  743            const rtc::PacketOptions& options) override; | 
|  744   int GetError() override { return error_; } |  744   int GetError() override { return error_; } | 
|  745  |  745  | 
|  746  private: |  746  private: | 
|  747   int error_ = 0; |  747   int error_ = 0; | 
|  748 }; |  748 }; | 
|  749  |  749  | 
|  750 }  // namespace cricket |  750 }  // namespace cricket | 
|  751  |  751  | 
|  752 #endif  // WEBRTC_P2P_BASE_PORT_H_ |  752 #endif  // WEBRTC_P2P_BASE_PORT_H_ | 
| OLD | NEW |