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

Unified Diff: webrtc/p2p/base/transportdescriptionfactory.h

Issue 1453813005: Fixing some issues with ICE restart signaling. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fixing typo. Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « talk/session/media/mediasession.cc ('k') | webrtc/p2p/base/transportdescriptionfactory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/p2p/base/transportdescriptionfactory.h
diff --git a/webrtc/p2p/base/transportdescriptionfactory.h b/webrtc/p2p/base/transportdescriptionfactory.h
index 828aa6d22c4f2fae6b0b7d233d2209d3095b9642..e71e00d5ab5de551ea410e0a9e9b14da436dc669 100644
--- a/webrtc/p2p/base/transportdescriptionfactory.h
+++ b/webrtc/p2p/base/transportdescriptionfactory.h
@@ -21,8 +21,7 @@ class SSLIdentity;
namespace cricket {
struct TransportOptions {
- TransportOptions() : ice_restart(false), prefer_passive_role(false) {}
- bool ice_restart;
+ TransportOptions() : prefer_passive_role(false) {}
bool prefer_passive_role;
};
@@ -48,12 +47,15 @@ class TransportDescriptionFactory {
}
// Creates a transport description suitable for use in an offer.
- TransportDescription* CreateOffer(const TransportOptions& options,
+ TransportDescription* CreateOffer(
+ const TransportOptions& options,
+ bool ice_restart,
const TransportDescription* current_description) const;
// Create a transport description that is a response to an offer.
TransportDescription* CreateAnswer(
const TransportDescription* offer,
const TransportOptions& options,
+ bool ice_restart,
const TransportDescription* current_description) const;
private:
« no previous file with comments | « talk/session/media/mediasession.cc ('k') | webrtc/p2p/base/transportdescriptionfactory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698