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

Unified Diff: webrtc/media/engine/fakewebrtccall.h

Issue 2353033005: Refactoring: move ownership of RtcEventLog from Call to PeerConnection (Closed)
Patch Set: Updated unit tests to use RtcEventLogNullImpl. Created 4 years, 2 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/media/engine/fakewebrtccall.h
diff --git a/webrtc/media/engine/fakewebrtccall.h b/webrtc/media/engine/fakewebrtccall.h
index 5719070eeaee78049889c62518b343163838b451..b2fa6e670136c7dc84a90c625f2476e52ebe92fa 100644
--- a/webrtc/media/engine/fakewebrtccall.h
+++ b/webrtc/media/engine/fakewebrtccall.h
@@ -245,10 +245,6 @@ class FakeCall final : public webrtc::Call, public webrtc::PacketReceiver {
webrtc::NetworkState state) override;
void OnSentPacket(const rtc::SentPacket& sent_packet) override;
- bool StartEventLog(rtc::PlatformFile log_file,
- int64_t max_size_bytes) override;
- void StopEventLog() override;
-
webrtc::Call::Config config_;
webrtc::NetworkState audio_network_state_;
webrtc::NetworkState video_network_state_;
@@ -264,5 +260,12 @@ class FakeCall final : public webrtc::Call, public webrtc::PacketReceiver {
int num_created_receive_streams_;
};
+inline webrtc::Call::Config ConfigWithRtcEventLog(
+ webrtc::RtcEventLog* event_log) {
+ webrtc::Call::Config config;
+ config.event_log = event_log;
+ return config;
+}
+
} // namespace cricket
#endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCCALL_H_

Powered by Google App Engine
This is Rietveld 408576698