Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(901)

Unified Diff: webrtc/voice_engine/shared_data.cc

Issue 1337003003: Add a name to the ProcessThread constructor. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Comments addressed. Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/voice_engine/shared_data.cc
diff --git a/webrtc/voice_engine/shared_data.cc b/webrtc/voice_engine/shared_data.cc
index 754368b3d8e44353df030b0f8627aa6b87f36498..a37b1677bc0e223f52d6a90dfe3b69f961cfb7d7 100644
--- a/webrtc/voice_engine/shared_data.cc
+++ b/webrtc/voice_engine/shared_data.cc
@@ -23,14 +23,13 @@ namespace voe {
static int32_t _gInstanceCounter = 0;
-SharedData::SharedData(const Config& config) :
- _instanceId(++_gInstanceCounter),
- _apiCritPtr(CriticalSectionWrapper::CreateCriticalSection()),
- _channelManager(_gInstanceCounter, config),
- _engineStatistics(_gInstanceCounter),
- _audioDevicePtr(NULL),
- _moduleProcessThreadPtr(ProcessThread::Create())
-{
+SharedData::SharedData(const Config& config)
+ : _instanceId(++_gInstanceCounter),
+ _apiCritPtr(CriticalSectionWrapper::CreateCriticalSection()),
+ _channelManager(_gInstanceCounter, config),
+ _engineStatistics(_gInstanceCounter),
+ _audioDevicePtr(NULL),
+ _moduleProcessThreadPtr(ProcessThread::Create("VoiceProcessThread")) {
Trace::CreateTrace();
if (OutputMixer::Create(_outputMixerPtr, _gInstanceCounter) == 0)
{

Powered by Google App Engine
This is Rietveld 408576698