Home
last modified time | relevance | path

Searched refs:PerSessionWebRTCAPIMetrics (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/content/renderer/media/
Dwebrtc_uma_histograms.cc25 PerSessionWebRTCAPIMetrics::GetInstance()->LogUsageOnlyOnce(api_name); in UpdateWebRTCMethodCount()
28 PerSessionWebRTCAPIMetrics::~PerSessionWebRTCAPIMetrics() { in ~PerSessionWebRTCAPIMetrics()
32 PerSessionWebRTCAPIMetrics* PerSessionWebRTCAPIMetrics::GetInstance() { in GetInstance()
33 return Singleton<PerSessionWebRTCAPIMetrics>::get(); in GetInstance()
36 void PerSessionWebRTCAPIMetrics::IncrementStreamCounter() { in IncrementStreamCounter()
41 void PerSessionWebRTCAPIMetrics::DecrementStreamCounter() { in DecrementStreamCounter()
48 PerSessionWebRTCAPIMetrics::PerSessionWebRTCAPIMetrics() : num_streams_(0) { in PerSessionWebRTCAPIMetrics() function in content::PerSessionWebRTCAPIMetrics
52 void PerSessionWebRTCAPIMetrics::LogUsage(JavaScriptAPIName api_name) { in LogUsage()
58 void PerSessionWebRTCAPIMetrics::LogUsageOnlyOnce(JavaScriptAPIName api_name) { in LogUsageOnlyOnce()
66 void PerSessionWebRTCAPIMetrics::ResetUsage() { in ResetUsage()
Dwebrtc_uma_histograms_unittest.cc14 class MockPerSessionWebRTCAPIMetrics : public PerSessionWebRTCAPIMetrics {
18 using PerSessionWebRTCAPIMetrics::LogUsageOnlyOnce;
23 TEST(PerSessionWebRTCAPIMetrics, NoCallOngoingGetUserMedia) { in TEST() argument
29 TEST(PerSessionWebRTCAPIMetrics, CallOngoingGetUserMedia) { in TEST() argument
36 TEST(PerSessionWebRTCAPIMetrics, NoCallOngoingGetMediaDevices) { in TEST() argument
42 TEST(PerSessionWebRTCAPIMetrics, CallOngoingGetMediaDevices) { in TEST() argument
49 TEST(PerSessionWebRTCAPIMetrics, NoCallOngoingRTCPeerConnection) { in TEST() argument
55 TEST(PerSessionWebRTCAPIMetrics, NoCallOngoingMultiplePC) { in TEST() argument
63 TEST(PerSessionWebRTCAPIMetrics, BeforeAfterCallMultiplePC) { in TEST() argument
Dwebrtc_uma_histograms.h64 class CONTENT_EXPORT PerSessionWebRTCAPIMetrics : public base::NonThreadSafe {
66 virtual ~PerSessionWebRTCAPIMetrics();
68 static PerSessionWebRTCAPIMetrics* GetInstance();
76 friend struct DefaultSingletonTraits<PerSessionWebRTCAPIMetrics>;
81 PerSessionWebRTCAPIMetrics();
96 DISALLOW_COPY_AND_ASSIGN(PerSessionWebRTCAPIMetrics);
Drtc_peer_connection_handler.cc693 PerSessionWebRTCAPIMetrics::GetInstance()->IncrementStreamCounter(); in addStream()
726 PerSessionWebRTCAPIMetrics::GetInstance()->DecrementStreamCounter(); in removeStream()
936 PerSessionWebRTCAPIMetrics::GetInstance()->IncrementStreamCounter(); in OnAddStream()
955 PerSessionWebRTCAPIMetrics::GetInstance()->DecrementStreamCounter(); in OnRemoveStream()