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

Unified Diff: voice_engine/shared_data.h

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/channel_proxy.cc ('k') | voice_engine/shared_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: voice_engine/shared_data.h
diff --git a/voice_engine/shared_data.h b/voice_engine/shared_data.h
index 336aab25a4a5f08cffb05b2b9346193b4de59213..d313c24c64af881c58bba100d23f7b3f11fd6041 100644
--- a/voice_engine/shared_data.h
+++ b/voice_engine/shared_data.h
@@ -22,7 +22,6 @@
#include "rtc_base/thread_annotations.h"
#include "rtc_base/thread_checker.h"
#include "voice_engine/channel_manager.h"
-#include "voice_engine/statistics.h"
#include "voice_engine/voice_engine_defines.h"
class ProcessThread;
@@ -37,7 +36,6 @@ class SharedData
public:
// Public accessors.
uint32_t instance_id() const { return _instanceId; }
- Statistics& statistics() { return _engineStatistics; }
ChannelManager& channel_manager() { return _channelManager; }
AudioDeviceModule* audio_device() { return _audioDevicePtr.get(); }
void set_audio_device(
@@ -51,18 +49,11 @@ public:
int NumOfSendingChannels();
int NumOfPlayingChannels();
- // Convenience methods for calling statistics().SetLastError().
- void SetLastError(int32_t error) const;
- void SetLastError(int32_t error, TraceLevel level) const;
- void SetLastError(int32_t error, TraceLevel level,
- const char* msg) const;
-
protected:
rtc::ThreadChecker construction_thread_;
const uint32_t _instanceId;
rtc::CriticalSection _apiCritPtr;
ChannelManager _channelManager;
- Statistics _engineStatistics;
rtc::scoped_refptr<AudioDeviceModule> _audioDevicePtr;
TransmitMixer* _transmitMixerPtr;
std::unique_ptr<ProcessThread> _moduleProcessThreadPtr;
« no previous file with comments | « voice_engine/channel_proxy.cc ('k') | voice_engine/shared_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698