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

Side by Side Diff: third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.h

Issue 2706563003: Create the API that returns the RTCConfiguration of the PeerConnection.
Patch Set: Fix the issues in data type conversion. 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 ScriptPromise setRemoteDescription(ScriptState*, 102 ScriptPromise setRemoteDescription(ScriptState*,
103 const RTCSessionDescriptionInit&); 103 const RTCSessionDescriptionInit&);
104 ScriptPromise setRemoteDescription(ScriptState*, 104 ScriptPromise setRemoteDescription(ScriptState*,
105 const RTCSessionDescriptionInit&, 105 const RTCSessionDescriptionInit&,
106 VoidCallback*, 106 VoidCallback*,
107 RTCPeerConnectionErrorCallback*); 107 RTCPeerConnectionErrorCallback*);
108 RTCSessionDescription* remoteDescription(); 108 RTCSessionDescription* remoteDescription();
109 109
110 String signalingState() const; 110 String signalingState() const;
111 111
112 void getConfiguration(RTCConfiguration&);
112 void setConfiguration(ScriptState*, const RTCConfiguration&, ExceptionState&); 113 void setConfiguration(ScriptState*, const RTCConfiguration&, ExceptionState&);
113 114
114 // Certificate management 115 // Certificate management
115 // http://w3c.github.io/webrtc-pc/#sec.cert-mgmt 116 // http://w3c.github.io/webrtc-pc/#sec.cert-mgmt
116 static ScriptPromise generateCertificate( 117 static ScriptPromise generateCertificate(
117 ScriptState*, 118 ScriptState*,
118 const AlgorithmIdentifier& keygenAlgorithm, 119 const AlgorithmIdentifier& keygenAlgorithm,
119 ExceptionState&); 120 ExceptionState&);
120 121
121 ScriptPromise addIceCandidate(ScriptState*, 122 ScriptPromise addIceCandidate(ScriptState*,
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 260
260 bool m_stopped; 261 bool m_stopped;
261 bool m_closed; 262 bool m_closed;
262 263
263 bool m_hasDataChannels; // For RAPPOR metrics 264 bool m_hasDataChannels; // For RAPPOR metrics
264 }; 265 };
265 266
266 } // namespace blink 267 } // namespace blink
267 268
268 #endif // RTCPeerConnection_h 269 #endif // RTCPeerConnection_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698