mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 1121623 part 3. Switch WebrtcGlobalInformation to being a namespace. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D32201 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
d51859cb38
commit
471d7a508d
@ -1519,8 +1519,6 @@ DOMInterfaces = {
|
||||
'WebrtcGlobalInformation': {
|
||||
'nativeType': 'mozilla::dom::WebrtcGlobalInformation',
|
||||
'headerFile': 'WebrtcGlobalInformation.h',
|
||||
'wrapperCache': False,
|
||||
'concrete': False,
|
||||
},
|
||||
|
||||
'Window': {
|
||||
|
@ -12,19 +12,18 @@ callback WebrtcGlobalStatisticsCallback = void (WebrtcGlobalStatisticsReport rep
|
||||
callback WebrtcGlobalLoggingCallback = void (sequence<DOMString> logMessages);
|
||||
|
||||
[ChromeOnly]
|
||||
interface WebrtcGlobalInformation {
|
||||
namespace WebrtcGlobalInformation {
|
||||
|
||||
[Throws]
|
||||
static void getAllStats(WebrtcGlobalStatisticsCallback callback,
|
||||
optional DOMString pcIdFilter);
|
||||
void getAllStats(WebrtcGlobalStatisticsCallback callback,
|
||||
optional DOMString pcIdFilter);
|
||||
|
||||
static void clearAllStats();
|
||||
void clearAllStats();
|
||||
|
||||
[Throws]
|
||||
static void getLogging(DOMString pattern,
|
||||
WebrtcGlobalLoggingCallback callback);
|
||||
void getLogging(DOMString pattern, WebrtcGlobalLoggingCallback callback);
|
||||
|
||||
static void clearLogging();
|
||||
void clearLogging();
|
||||
|
||||
// NSPR WebRTC Trace debug level (0 - 65535)
|
||||
//
|
||||
@ -32,10 +31,10 @@ interface WebrtcGlobalInformation {
|
||||
// - Setting a non-zero debug level turns on gathering of log for file output.
|
||||
// - Subsequently setting a zero debug level writes that log to disk.
|
||||
|
||||
static attribute long debugLevel;
|
||||
attribute long debugLevel;
|
||||
|
||||
// WebRTC AEC debugging enable
|
||||
static attribute boolean aecDebug;
|
||||
attribute boolean aecDebug;
|
||||
|
||||
static readonly attribute DOMString aecDebugLogDir;
|
||||
readonly attribute DOMString aecDebugLogDir;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user