Index: chrome/renderer/media/chrome_webrtc_log_message_delegate.h |
diff --git a/chrome/renderer/media/chrome_webrtc_log_message_delegate.h b/chrome/renderer/media/chrome_webrtc_log_message_delegate.h |
index f8b37d2f98a6bd7ab48f0685799838f8dcf1e839..4a1792dcb03b104268a60643f119afe623bc5e92 100644 |
--- a/chrome/renderer/media/chrome_webrtc_log_message_delegate.h |
+++ b/chrome/renderer/media/chrome_webrtc_log_message_delegate.h |
@@ -8,14 +8,11 @@ |
#include <string> |
#include "base/memory/shared_memory.h" |
+#include "base/single_thread_task_runner.h" |
xhwang
2015/05/05 16:01:58
forward declare?
anujsharma
2015/05/06 03:42:45
Done.
|
#include "chrome/common/media/webrtc_logging_message_data.h" |
#include "content/public/renderer/webrtc_log_message_delegate.h" |
#include "ipc/ipc_channel_proxy.h" |
-namespace base { |
-class MessageLoopProxy; |
-} |
- |
class PartialCircularBuffer; |
class WebRtcLoggingMessageFilter; |
@@ -28,7 +25,7 @@ class ChromeWebRtcLogMessageDelegate |
public base::NonThreadSafe { |
public: |
ChromeWebRtcLogMessageDelegate( |
- const scoped_refptr<base::MessageLoopProxy>& io_message_loop, |
+ const scoped_refptr<base::SingleThreadTaskRunner>& io_task_runner, |
WebRtcLoggingMessageFilter* message_filter); |
~ChromeWebRtcLogMessageDelegate() override; |
@@ -45,7 +42,7 @@ class ChromeWebRtcLogMessageDelegate |
void LogMessageOnIOThread(const WebRtcLoggingMessageData& message); |
void SendLogBuffer(); |
- scoped_refptr<base::MessageLoopProxy> io_message_loop_; |
+ scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; |
bool logging_started_; |
std::vector<WebRtcLoggingMessageData> log_buffer_; |