Remove the deprecated kTraceModuleCall trace from utility module.
Review URL: https://webrtc-codereview.appspot.com/401002 git-svn-id: http://webrtc.googlecode.com/svn/trunk@1724 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
57fb09ac18
commit
6bde7a88f1
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
|
||||
*
|
||||
* Use of this source code is governed by a BSD-style license
|
||||
* that can be found in the LICENSE file in the root of the source
|
||||
@ -19,13 +19,11 @@ ProcessThread::~ProcessThread()
|
||||
|
||||
ProcessThread* ProcessThread::CreateProcessThread()
|
||||
{
|
||||
WEBRTC_TRACE(kTraceModuleCall, kTraceUtility, -1, "CreateProcessThread()");
|
||||
return new ProcessThreadImpl();
|
||||
}
|
||||
|
||||
void ProcessThread::DestroyProcessThread(ProcessThread* module)
|
||||
{
|
||||
WEBRTC_TRACE(kTraceModuleCall, kTraceUtility, -1, "DestroyProcessThread()");
|
||||
delete module;
|
||||
}
|
||||
|
||||
@ -91,8 +89,6 @@ WebRtc_Word32 ProcessThreadImpl::Stop()
|
||||
|
||||
WebRtc_Word32 ProcessThreadImpl::RegisterModule(const Module* module)
|
||||
{
|
||||
WEBRTC_TRACE(kTraceModuleCall, kTraceUtility, -1,
|
||||
"RegisterModule(module:0x%x)", module);
|
||||
CriticalSectionScoped lock(_critSectModules);
|
||||
|
||||
// Only allow module to be registered once.
|
||||
@ -119,8 +115,6 @@ WebRtc_Word32 ProcessThreadImpl::RegisterModule(const Module* module)
|
||||
|
||||
WebRtc_Word32 ProcessThreadImpl::DeRegisterModule(const Module* module)
|
||||
{
|
||||
WEBRTC_TRACE(kTraceModuleCall, kTraceUtility, -1,
|
||||
"DeRegisterModule(module:0x%x)", module);
|
||||
CriticalSectionScoped lock(_critSectModules);
|
||||
|
||||
ListItem* item = _modules.First();
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
|
||||
*
|
||||
* Use of this source code is governed by a BSD-style license
|
||||
* that can be found in the LICENSE file in the root of the source
|
||||
@ -58,13 +58,11 @@ typedef struct
|
||||
|
||||
RtpDump* RtpDump::CreateRtpDump()
|
||||
{
|
||||
WEBRTC_TRACE(kTraceModuleCall, kTraceUtility, -1, "CreateRtpDump()");
|
||||
return new RtpDumpImpl();
|
||||
}
|
||||
|
||||
void RtpDump::DestroyRtpDump(RtpDump* object)
|
||||
{
|
||||
WEBRTC_TRACE(kTraceModuleCall, kTraceUtility, -1, "DestroyRtpDump()");
|
||||
delete object;
|
||||
}
|
||||
|
||||
@ -91,7 +89,6 @@ RtpDumpImpl::~RtpDumpImpl()
|
||||
|
||||
WebRtc_Word32 RtpDumpImpl::Start(const WebRtc_Word8* fileNameUTF8)
|
||||
{
|
||||
WEBRTC_TRACE(kTraceModuleCall, kTraceUtility, -1, "Start()");
|
||||
|
||||
if (fileNameUTF8 == NULL)
|
||||
{
|
||||
@ -141,7 +138,6 @@ WebRtc_Word32 RtpDumpImpl::Start(const WebRtc_Word8* fileNameUTF8)
|
||||
|
||||
WebRtc_Word32 RtpDumpImpl::Stop()
|
||||
{
|
||||
WEBRTC_TRACE(kTraceModuleCall, kTraceUtility, -1, "Stop()");
|
||||
CriticalSectionScoped lock(_critSect);
|
||||
_file.Flush();
|
||||
_file.CloseFile();
|
||||
|
Loading…
x
Reference in New Issue
Block a user