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

Side by Side Diff: third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.idl

Issue 1373023002: RTCCertificate, RTCPeerConnection.generateCertificate (WebRTC JavaScript) added. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resolve WebRTCKeyParams->KeyParams TODOs 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
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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 // Non-standard or removed from the spec: 123 // Non-standard or removed from the spec:
124 [RaisesException] void updateIce(optional Dictionary configuration, optional Dictionary mediaConstraints); 124 [RaisesException] void updateIce(optional Dictionary configuration, optional Dictionary mediaConstraints);
125 sequence<MediaStream> getLocalStreams(); 125 sequence<MediaStream> getLocalStreams();
126 sequence<MediaStream> getRemoteStreams(); 126 sequence<MediaStream> getRemoteStreams();
127 MediaStream getStreamById(DOMString streamId); 127 MediaStream getStreamById(DOMString streamId);
128 [TypeChecking=Interface, RaisesException] void addStream(MediaStream? stream , optional Dictionary mediaConstraints); 128 [TypeChecking=Interface, RaisesException] void addStream(MediaStream? stream , optional Dictionary mediaConstraints);
129 [TypeChecking=Interface, RaisesException] void removeStream(MediaStream? str eam); 129 [TypeChecking=Interface, RaisesException] void removeStream(MediaStream? str eam);
130 [RaisesException] RTCDTMFSender createDTMFSender(MediaStreamTrack track); 130 [RaisesException] RTCDTMFSender createDTMFSender(MediaStreamTrack track);
131 attribute EventHandler onaddstream; 131 attribute EventHandler onaddstream;
132 attribute EventHandler onremovestream; 132 attribute EventHandler onremovestream;
133
134 // Certificate Management
135 // http://w3c.github.io/webrtc-pc/#sec.cert-mgmt
136 // TODO(hbos): Use AlgorithmIdentifier and the WebCryptoAPI normalization pr ocess.
Guido Urdaneta 2015/10/19 10:41:17 reference crbug
hbos_chromium 2015/10/19 15:21:35 Done.
137 [RuntimeEnabled=RTCCertificate, RaisesException, CallWith=ScriptState] stati c Promise<RTCCertificate> generateCertificate(Dictionary keygenAlgorithm);
133 }; 138 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698