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

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

Issue 1369773003: Add a continual_gathering_policy in PeerConnection RTCConfiguration (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Rebase to master Created 5 years, 2 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 | « webrtc/p2p/base/p2ptransportchannel_unittest.cc ('k') | webrtc/p2p/base/session.cc » ('j') | 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 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
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 const std::string& error_desc() const { return error_desc_; } 139 const std::string& error_desc() const { return error_desc_; }
140 sigslot::signal2<BaseSession* , Error> SignalError; 140 sigslot::signal2<BaseSession* , Error> SignalError;
141 141
142 // Updates the state, signaling if necessary. 142 // Updates the state, signaling if necessary.
143 virtual void SetState(State state); 143 virtual void SetState(State state);
144 144
145 // Updates the error state, signaling if necessary. 145 // Updates the error state, signaling if necessary.
146 // TODO(ronghuawu): remove the SetError method that doesn't take |error_desc|. 146 // TODO(ronghuawu): remove the SetError method that doesn't take |error_desc|.
147 virtual void SetError(Error error, const std::string& error_desc); 147 virtual void SetError(Error error, const std::string& error_desc);
148 148
149 void SetIceConnectionReceivingTimeout(int timeout_ms); 149 void SetIceConfig(const IceConfig& ice_config);
150 150
151 // Start gathering candidates for any new transports, or transports doing an 151 // Start gathering candidates for any new transports, or transports doing an
152 // ICE restart. 152 // ICE restart.
153 void MaybeStartGathering(); 153 void MaybeStartGathering();
154 154
155 protected: 155 protected:
156 bool PushdownTransportDescription(ContentSource source, 156 bool PushdownTransportDescription(ContentSource source,
157 ContentAction action, 157 ContentAction action,
158 std::string* error_desc); 158 std::string* error_desc);
159 159
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 const std::string sid_; 193 const std::string sid_;
194 bool initiator_; 194 bool initiator_;
195 rtc::scoped_ptr<TransportController> transport_controller_; 195 rtc::scoped_ptr<TransportController> transport_controller_;
196 rtc::scoped_ptr<const SessionDescription> local_description_; 196 rtc::scoped_ptr<const SessionDescription> local_description_;
197 rtc::scoped_ptr<SessionDescription> remote_description_; 197 rtc::scoped_ptr<SessionDescription> remote_description_;
198 }; 198 };
199 199
200 } // namespace cricket 200 } // namespace cricket
201 201
202 #endif // WEBRTC_P2P_BASE_SESSION_H_ 202 #endif // WEBRTC_P2P_BASE_SESSION_H_
OLDNEW
« no previous file with comments | « webrtc/p2p/base/p2ptransportchannel_unittest.cc ('k') | webrtc/p2p/base/session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698