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

Side by Side Diff: chrome/common/extensions/api/webrtc_logging_private.idl

Issue 267623003: Adds StartRtpDump and StopRtpDump methods to webrtcLoggingPrivate API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync Created 6 years, 7 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 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Use the <code>chrome.webrtcLoggingPrivate</code> API to control diagnostic 5 // Use the <code>chrome.webrtcLoggingPrivate</code> API to control diagnostic
6 // WebRTC logging. 6 // WebRTC logging.
7 [nodoc] namespace webrtcLoggingPrivate { 7 [nodoc] namespace webrtcLoggingPrivate {
8 dictionary MetaDataEntry { 8 dictionary MetaDataEntry {
9 // The meta data entry key. 9 // The meta data entry key.
10 DOMString key; 10 DOMString key;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 DOMString securityOrigin, 50 DOMString securityOrigin,
51 boolean shouldUpload); 51 boolean shouldUpload);
52 52
53 // Stops logging. After stop has finished, either upload() or discard() 53 // Stops logging. After stop has finished, either upload() or discard()
54 // should be called, otherwise the log will be kept in memory until the 54 // should be called, otherwise the log will be kept in memory until the
55 // render process is closed or logging restarted. 55 // render process is closed or logging restarted.
56 static void stop(long tabId, 56 static void stop(long tabId,
57 DOMString securityOrigin, 57 DOMString securityOrigin,
58 GenericDoneCallback callback); 58 GenericDoneCallback callback);
59 59
60 // Uploads the log. Logging must be stopped before this function is called. 60 // Uploads the log and the RTP dumps, if they exist. Logging and RTP dumping
61 // must be stopped before this function is called.
61 static void upload(long tabId, 62 static void upload(long tabId,
62 DOMString securityOrigin, 63 DOMString securityOrigin,
63 UploadDoneCallback callback); 64 UploadDoneCallback callback);
64 65
65 // Discards the log. Logging must be stopped before this function is called. 66 // Discards the log. Logging must be stopped before this function is called.
66 static void discard(long tabId, 67 static void discard(long tabId,
67 DOMString securityOrigin, 68 DOMString securityOrigin,
68 GenericDoneCallback callback); 69 GenericDoneCallback callback);
70
71 // Starts RTP dumping. If it has already been started for this render
72 // process, the call will be ignored.
73 static void startRtpDump(long tabId,
74 DOMString securityOrigin,
75 boolean incoming,
76 boolean outgoing,
77 GenericDoneCallback callback);
78
79 // Stops RTP dumping. After stop has finished, the dumps will be
80 // uploaded with the log if upload is called. Otherwise, the dumps will be
81 // discarded.
82 static void stopRtpDump(long tabId,
83 DOMString securityOrigin,
84 boolean incoming,
85 boolean outgoing,
86 GenericDoneCallback callback);
69 }; 87 };
70 }; 88 };
OLDNEW
« no previous file with comments | « chrome/browser/media/webrtc_logging_handler_host.cc ('k') | extensions/browser/extension_function_histogram_value.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698