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

Unified Diff: voice_engine/shared_data.cc

Issue 3020473002: Remove voe::Statistics. (Closed)
Patch Set: rebase Created 3 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
« no previous file with comments | « voice_engine/shared_data.h ('k') | voice_engine/statistics.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: voice_engine/shared_data.cc
diff --git a/voice_engine/shared_data.cc b/voice_engine/shared_data.cc
index 48c8b0f22b333a6763cee46a9d4665baf3e805f2..ac830c7163438bc37a7da1332491ef8cb4d9554c 100644
--- a/voice_engine/shared_data.cc
+++ b/voice_engine/shared_data.cc
@@ -24,7 +24,6 @@ static int32_t _gInstanceCounter = 0;
SharedData::SharedData()
: _instanceId(++_gInstanceCounter),
_channelManager(_gInstanceCounter),
- _engineStatistics(_gInstanceCounter),
_audioDevicePtr(NULL),
_moduleProcessThreadPtr(ProcessThread::Create("VoiceProcessThread")),
encoder_queue_("AudioEncoderQueue") {
@@ -84,20 +83,6 @@ int SharedData::NumOfPlayingChannels() {
return playout_channels;
}
-void SharedData::SetLastError(int32_t error) const {
- _engineStatistics.SetLastError(error);
-}
-
-void SharedData::SetLastError(int32_t error,
- TraceLevel level) const {
- _engineStatistics.SetLastError(error, level);
-}
-
-void SharedData::SetLastError(int32_t error, TraceLevel level,
- const char* msg) const {
- _engineStatistics.SetLastError(error, level, msg);
-}
-
} // namespace voe
} // namespace webrtc
« no previous file with comments | « voice_engine/shared_data.h ('k') | voice_engine/statistics.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698