Bug 1093934 - Create a XPCOM library that can be used to support standalone WebRTC. r=nfroyd

This commit is contained in:
Randall Barker
2015-04-03 15:52:00 +02:00
parent 22c2ea997d
commit 2ee4f9a372
31 changed files with 639 additions and 31 deletions

View File

@@ -23,7 +23,7 @@
#include "mozilla/ReentrantMonitor.h"
#include "mozilla/Mutex.h"
#ifdef MOZILLA_INTERNAL_API
#if defined(MOZILLA_INTERNAL_API) && !defined(MOZILLA_XPCOMRT_API)
#include "GeckoProfiler.h"
#endif //MOZILLA_INTERNAL_API
@@ -461,7 +461,7 @@ ReentrantMonitor::Wait(PRIntervalTime aInterval)
mChainPrev = 0;
nsresult rv;
#ifdef MOZILLA_INTERNAL_API
#if defined(MOZILLA_INTERNAL_API) && !defined(MOZILLA_XPCOMRT_API)
{
GeckoProfilerSleepRAII profiler_sleep;
#endif //MOZILLA_INTERNAL_API
@@ -470,7 +470,7 @@ ReentrantMonitor::Wait(PRIntervalTime aInterval)
rv = PR_Wait(mReentrantMonitor, aInterval) == PR_SUCCESS ? NS_OK :
NS_ERROR_FAILURE;
#ifdef MOZILLA_INTERNAL_API
#if defined(MOZILLA_INTERNAL_API) && !defined(MOZILLA_XPCOMRT_API)
}
#endif //MOZILLA_INTERNAL_API