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

Unified Diff: webrtc/voice_engine/channel_manager.h

Issue 1267683002: Hooked up RtcEventLog. It lives in Voice Engine and pointers are propagated to ACM and Call. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Moved RtcEventLog from SharedData to ChannelManager. Created 5 years, 4 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/channel_manager.h
diff --git a/webrtc/voice_engine/channel_manager.h b/webrtc/voice_engine/channel_manager.h
index 07cebb0327fb86b90edccf8637c5495c264d2591..4aeb4225d087771b69802631f2e9eed0f34c69ac 100644
--- a/webrtc/voice_engine/channel_manager.h
+++ b/webrtc/voice_engine/channel_manager.h
@@ -18,6 +18,7 @@
#include "webrtc/system_wrappers/interface/atomic32.h"
#include "webrtc/system_wrappers/interface/critical_section_wrapper.h"
#include "webrtc/typedefs.h"
+#include "webrtc/video/rtc_event_log.h"
namespace webrtc {
@@ -111,6 +112,9 @@ class ChannelManager {
size_t NumOfChannels() const;
+ // Returns a pointer to the event log object stored within the ChannelManager.
+ RtcEventLog* GetEventLog() const;
+
private:
// Create a channel given a configuration, |config|.
ChannelOwner CreateChannelInternal(const Config& config);
@@ -123,6 +127,7 @@ class ChannelManager {
std::vector<ChannelOwner> channels_;
const Config& config_;
+ rtc::scoped_ptr<RtcEventLog> event_log_;
DISALLOW_COPY_AND_ASSIGN(ChannelManager);
};

Powered by Google App Engine
This is Rietveld 408576698