Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Side by Side Diff: webrtc/p2p/base/icetransportinternal.h

Issue 2632563002: Remove the IceTransportInternal2. (Closed)
Patch Set: Merge. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2016 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2016 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_ICETRANSPORTINTERNAL_H_ 11 #ifndef WEBRTC_P2P_BASE_ICETRANSPORTINTERNAL_H_
12 #define WEBRTC_P2P_BASE_ICETRANSPORTINTERNAL_H_ 12 #define WEBRTC_P2P_BASE_ICETRANSPORTINTERNAL_H_
13 13
14 #include <string> 14 #include <string>
15 15
16 #include "webrtc/base/stringencode.h" 16 #include "webrtc/base/stringencode.h"
17 #include "webrtc/p2p/base/candidate.h" 17 #include "webrtc/p2p/base/candidate.h"
18 #include "webrtc/p2p/base/candidatepairinterface.h" 18 #include "webrtc/p2p/base/candidatepairinterface.h"
19 #include "webrtc/p2p/base/jseptransport.h" 19 #include "webrtc/p2p/base/jseptransport.h"
20 #include "webrtc/p2p/base/packettransportinternal.h" 20 #include "webrtc/p2p/base/packettransportinternal.h"
21 #include "webrtc/p2p/base/transportdescription.h" 21 #include "webrtc/p2p/base/transportdescription.h"
22 22
23 namespace webrtc { 23 namespace webrtc {
24 class MetricsObserverInterface; 24 class MetricsObserverInterface;
25 } 25 }
26 26
27 namespace cricket { 27 namespace cricket {
28 28
29 class IceTransportInternal;
30 typedef IceTransportInternal IceTransportInternal2;
31
32 // TODO(zhihuang): Replace this with 29 // TODO(zhihuang): Replace this with
33 // PeerConnectionInterface::IceConnectionState. 30 // PeerConnectionInterface::IceConnectionState.
34 enum class IceTransportState { 31 enum class IceTransportState {
35 STATE_INIT, 32 STATE_INIT,
36 STATE_CONNECTING, // Will enter this state once a connection is created 33 STATE_CONNECTING, // Will enter this state once a connection is created
37 STATE_COMPLETED, 34 STATE_COMPLETED,
38 STATE_FAILED 35 STATE_FAILED
39 }; 36 };
40 37
41 // TODO(zhihuang): Remove this once it's no longer used in 38 // TODO(zhihuang): Remove this once it's no longer used in
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 141
145 // Debugging description of this transport. 142 // Debugging description of this transport.
146 std::string debug_name() const override { 143 std::string debug_name() const override {
147 return transport_name() + " " + rtc::ToString(component()); 144 return transport_name() + " " + rtc::ToString(component());
148 } 145 }
149 }; 146 };
150 147
151 } // namespace cricket 148 } // namespace cricket
152 149
153 #endif // WEBRTC_P2P_BASE_ICETRANSPORTINTERNAL_H_ 150 #endif // WEBRTC_P2P_BASE_ICETRANSPORTINTERNAL_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698