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

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

Issue 23885002: Add WebRTC logging extension API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code review. Created 7 years, 3 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 | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 // Use the <code>chrome.webrtcLoggingPrivate</code> API to control diagnostic
6 // WebRTC logging.
7 [nodoc] namespace webrtcLoggingPrivate {
8 interface Functions {
9 // Starts logging. If logging has already been started for this render
10 // process, the call will be ignored. |appSessionId| is the unique session
11 // ID which will be added to the log.
12 static void start(DOMString appSessionId);
13
14 // Sets whether the log should be uploaded automatically for the case when
15 // the render process goes away (tab is closed or crashes) and stop has not
16 // been called before that. If |shouldUpload| is true it will be uploaded,
17 // otherwise it will be discarded. The default setting is to discard it.
18 static void setUploadOnRenderClose(boolean shouldUpload);
19
20 // Stops logging and, if |upload| is true, uploads the log. If |upload| is
21 // false the log is discarded.
22 static void stop(boolean upload);
23 };
24 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698