Index: content/browser/renderer_host/webrtc_logging_handler_host.h |
diff --git a/content/browser/renderer_host/webrtc_logging_handler_host.h b/content/browser/renderer_host/webrtc_logging_handler_host.h |
index 3b4292cfc53ba90f35265b32f284e1cc809ef4bd..d0236ebd798e14737462a329c70c80f50672ea39 100644 |
--- a/content/browser/renderer_host/webrtc_logging_handler_host.h |
+++ b/content/browser/renderer_host/webrtc_logging_handler_host.h |
@@ -6,9 +6,13 @@ |
#define CONTENT_BROWSER_RENDERER_HOST_WEBRTC_LOGGING_HANDLER_HOST_H_ |
#include "base/basictypes.h" |
-#include "base/shared_memory.h" |
+#include "base/platform_file.h" |
#include "content/public/browser/browser_message_filter.h" |
+namespace base { |
+class SharedMemory; |
+} |
+ |
namespace content { |
// WebRtcLoggingHandlerHost handles operations regarding the WebRTC logging: |
@@ -19,6 +23,8 @@ class WebRtcLoggingHandlerHost : public BrowserMessageFilter { |
WebRtcLoggingHandlerHost(); |
private: |
+ virtual ~WebRtcLoggingHandlerHost(); |
+ |
// BrowserMessageFilter implementation. |
virtual void OnChannelClosing() OVERRIDE; |
virtual void OnDestruct() const OVERRIDE; |
@@ -28,11 +34,16 @@ class WebRtcLoggingHandlerHost : public BrowserMessageFilter { |
friend class BrowserThread; |
friend class base::DeleteHelper<WebRtcLoggingHandlerHost>; |
- virtual ~WebRtcLoggingHandlerHost(); |
- |
void OnOpenLog(); |
- base::SharedMemory shared_memory_; |
+ void CreateWebRtcLogFile(); |
+ void FinishOpenLog(); |
+ |
+ bool IsUploadingEnabled(); |
+ void UploadLog(); |
+ |
+ base::SharedMemory* shared_memory_; |
+ base::PlatformFile log_file_compressed_; |
DISALLOW_COPY_AND_ASSIGN(WebRtcLoggingHandlerHost); |
}; |