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

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

Issue 2591763002: RTCPeerConnection.getStats: Remove selector argument. (Closed)
Patch Set: Added TODO Created 3 years, 12 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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 void addStream(ExecutionContext*, 140 void addStream(ExecutionContext*,
141 MediaStream*, 141 MediaStream*,
142 const Dictionary& mediaConstraints, 142 const Dictionary& mediaConstraints,
143 ExceptionState&); 143 ExceptionState&);
144 144
145 void removeStream(MediaStream*, ExceptionState&); 145 void removeStream(MediaStream*, ExceptionState&);
146 146
147 ScriptPromise getStats(ScriptState*, 147 ScriptPromise getStats(ScriptState*,
148 RTCStatsCallback* successCallback, 148 RTCStatsCallback* successCallback,
149 MediaStreamTrack* selector = nullptr); 149 MediaStreamTrack* selector = nullptr);
150 ScriptPromise getStats(ScriptState*, MediaStreamTrack* selector = nullptr); 150 ScriptPromise getStats(ScriptState*);
151 151
152 RTCDataChannel* createDataChannel(ExecutionContext*, 152 RTCDataChannel* createDataChannel(ExecutionContext*,
153 String label, 153 String label,
154 const Dictionary& dataChannelDict, 154 const Dictionary& dataChannelDict,
155 ExceptionState&); 155 ExceptionState&);
156 156
157 RTCDTMFSender* createDTMFSender(MediaStreamTrack*, ExceptionState&); 157 RTCDTMFSender* createDTMFSender(MediaStreamTrack*, ExceptionState&);
158 158
159 void close(ExceptionState&); 159 void close(ExceptionState&);
160 160
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 255
256 bool m_stopped; 256 bool m_stopped;
257 bool m_closed; 257 bool m_closed;
258 258
259 bool m_hasDataChannels; // For RAPPOR metrics 259 bool m_hasDataChannels; // For RAPPOR metrics
260 }; 260 };
261 261
262 } // namespace blink 262 } // namespace blink
263 263
264 #endif // RTCPeerConnection_h 264 #endif // RTCPeerConnection_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698