| Index: webrtc/call/rtc_event_log.h
|
| diff --git a/webrtc/call/rtc_event_log.h b/webrtc/call/rtc_event_log.h
|
| index a4b7cadadb7c3970865380866cbf320805773175..57b523ff467b207a79e93e81a4e30cd82aa7b12e 100644
|
| --- a/webrtc/call/rtc_event_log.h
|
| +++ b/webrtc/call/rtc_event_log.h
|
| @@ -11,6 +11,8 @@
|
| #ifndef WEBRTC_CALL_RTC_EVENT_LOG_H_
|
| #define WEBRTC_CALL_RTC_EVENT_LOG_H_
|
|
|
| +#include <stdio.h>
|
| +
|
| #include <string>
|
|
|
| #include "webrtc/base/scoped_ptr.h"
|
| @@ -41,6 +43,11 @@ class RtcEventLog {
|
| // If the file cannot be opened, the RtcEventLog will not start logging.
|
| virtual void StartLogging(const std::string& file_name, int duration_ms) = 0;
|
|
|
| + // Starts logging indefinitely until the StopLogging() function is called.
|
| + // This function uses an already opened file pointer as input, and will return
|
| + // 0 on success.
|
| + virtual int StartLogging(FILE* log_file) = 0;
|
| +
|
| virtual void StopLogging() = 0;
|
|
|
| // Logs configuration information for webrtc::VideoReceiveStream
|
|
|