Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
3 * You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #ifndef _WEBRTC_GLOBAL_INFORMATION_H_
6 #define _WEBRTC_GLOBAL_INFORMATION_H_
8 #include "nsString.h"
10 namespace sipcc {
11 class PeerConnectionImpl;
12 }
14 namespace mozilla {
15 class ErrorResult;
17 namespace dom {
18 class GlobalObject;
19 class WebrtcGlobalStatisticsCallback;
20 class WebrtcGlobalLoggingCallback;
22 class WebrtcGlobalInformation
23 {
24 public:
25 static void GetAllStats(const GlobalObject& aGlobal,
26 WebrtcGlobalStatisticsCallback& aStatsCallback,
27 ErrorResult& aRv);
29 static void GetLogging(const GlobalObject& aGlobal,
30 const nsAString& aPattern,
31 WebrtcGlobalLoggingCallback& aLoggingCallback,
32 ErrorResult& aRv);
34 static void StoreLongTermICEStatistics(sipcc::PeerConnectionImpl& aPc);
36 private:
37 WebrtcGlobalInformation() MOZ_DELETE;
38 WebrtcGlobalInformation(const WebrtcGlobalInformation& aOrig) MOZ_DELETE;
39 WebrtcGlobalInformation& operator=(
40 const WebrtcGlobalInformation& aRhs) MOZ_DELETE;
41 };
43 } // namespace dom
44 } // namespace mozilla
46 #endif // _WEBRTC_GLOBAL_INFORMATION_H_