1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/media/webrtc/signaling/src/peerconnection/WebrtcGlobalInformation.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,47 @@ 1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this file, 1.6 + * You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.7 + 1.8 +#ifndef _WEBRTC_GLOBAL_INFORMATION_H_ 1.9 +#define _WEBRTC_GLOBAL_INFORMATION_H_ 1.10 + 1.11 +#include "nsString.h" 1.12 + 1.13 +namespace sipcc { 1.14 +class PeerConnectionImpl; 1.15 +} 1.16 + 1.17 +namespace mozilla { 1.18 +class ErrorResult; 1.19 + 1.20 +namespace dom { 1.21 +class GlobalObject; 1.22 +class WebrtcGlobalStatisticsCallback; 1.23 +class WebrtcGlobalLoggingCallback; 1.24 + 1.25 +class WebrtcGlobalInformation 1.26 +{ 1.27 +public: 1.28 + static void GetAllStats(const GlobalObject& aGlobal, 1.29 + WebrtcGlobalStatisticsCallback& aStatsCallback, 1.30 + ErrorResult& aRv); 1.31 + 1.32 + static void GetLogging(const GlobalObject& aGlobal, 1.33 + const nsAString& aPattern, 1.34 + WebrtcGlobalLoggingCallback& aLoggingCallback, 1.35 + ErrorResult& aRv); 1.36 + 1.37 + static void StoreLongTermICEStatistics(sipcc::PeerConnectionImpl& aPc); 1.38 + 1.39 +private: 1.40 + WebrtcGlobalInformation() MOZ_DELETE; 1.41 + WebrtcGlobalInformation(const WebrtcGlobalInformation& aOrig) MOZ_DELETE; 1.42 + WebrtcGlobalInformation& operator=( 1.43 + const WebrtcGlobalInformation& aRhs) MOZ_DELETE; 1.44 +}; 1.45 + 1.46 +} // namespace dom 1.47 +} // namespace mozilla 1.48 + 1.49 +#endif // _WEBRTC_GLOBAL_INFORMATION_H_ 1.50 +