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..48424abacf2696853321dc134fb567dba89a472d 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 until either the 10 minute timer runs out or the StopLogging |
+ // function is called. This function uses an already opened file pointer, and |
+ // will return 0 on success. |
+ virtual int StartLogging(FILE* log_file) = 0; |
+ |
virtual void StopLogging() = 0; |
// Logs configuration information for webrtc::VideoReceiveStream |