michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this file, michael@0: * You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef _WEBRTC_GLOBAL_INFORMATION_H_ michael@0: #define _WEBRTC_GLOBAL_INFORMATION_H_ michael@0: michael@0: #include "nsString.h" michael@0: michael@0: namespace sipcc { michael@0: class PeerConnectionImpl; michael@0: } michael@0: michael@0: namespace mozilla { michael@0: class ErrorResult; michael@0: michael@0: namespace dom { michael@0: class GlobalObject; michael@0: class WebrtcGlobalStatisticsCallback; michael@0: class WebrtcGlobalLoggingCallback; michael@0: michael@0: class WebrtcGlobalInformation michael@0: { michael@0: public: michael@0: static void GetAllStats(const GlobalObject& aGlobal, michael@0: WebrtcGlobalStatisticsCallback& aStatsCallback, michael@0: ErrorResult& aRv); michael@0: michael@0: static void GetLogging(const GlobalObject& aGlobal, michael@0: const nsAString& aPattern, michael@0: WebrtcGlobalLoggingCallback& aLoggingCallback, michael@0: ErrorResult& aRv); michael@0: michael@0: static void StoreLongTermICEStatistics(sipcc::PeerConnectionImpl& aPc); michael@0: michael@0: private: michael@0: WebrtcGlobalInformation() MOZ_DELETE; michael@0: WebrtcGlobalInformation(const WebrtcGlobalInformation& aOrig) MOZ_DELETE; michael@0: WebrtcGlobalInformation& operator=( michael@0: const WebrtcGlobalInformation& aRhs) MOZ_DELETE; michael@0: }; michael@0: michael@0: } // namespace dom michael@0: } // namespace mozilla michael@0: michael@0: #endif // _WEBRTC_GLOBAL_INFORMATION_H_ michael@0: