Fix to make the start/stop functions for the Rtc Eventlog non-virtual.

This is needed to prevent the Chromium import bot from breaking.

BUG=
R=tommi@webrtc.org

Review URL: https://codereview.webrtc.org/2107253002 .

Cr-Commit-Position: refs/heads/master@{#13324}
This commit is contained in:
Ivo Creusen
2016-06-29 17:30:56 +02:00
parent 18c65a448f
commit df6ecea8ac

View File

@ -494,11 +494,15 @@ class PeerConnectionInterface : public rtc::RefCountInterface {
// operation fails the file will be closed. The logging will stop
// automatically after 10 minutes have passed, or when the StopRtcEventLog
// function is called.
// TODO(ivoc): Make this pure virtual when Chrome is updated.
virtual bool StartRtcEventLog(rtc::PlatformFile file,
int64_t max_size_bytes) = 0;
int64_t max_size_bytes) {
return false;
}
// Stops logging the RtcEventLog.
virtual void StopRtcEventLog() = 0;
// TODO(ivoc): Make this pure virtual when Chrome is updated.
virtual void StopRtcEventLog() {}
// Terminates all media and closes the transport.
virtual void Close() = 0;