Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5995)

Unified Diff: chrome/renderer/media/chrome_webrtc_log_message_delegate.h

Issue 1123733002: [chrome/renderer/media] Replace MessageLoopProxy usage with ThreadTaskRunnerHandle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed nit Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..5e31a48178f506b74ba3f89ebb91384c9732d90b 100644
--- a/chrome/renderer/media/chrome_webrtc_log_message_delegate.h
+++ b/chrome/renderer/media/chrome_webrtc_log_message_delegate.h
@@ -13,7 +13,7 @@
#include "ipc/ipc_channel_proxy.h"
namespace base {
-class MessageLoopProxy;
+class SingleThreadTaskRunner;
}
class PartialCircularBuffer;
@@ -28,7 +28,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 +45,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_;
« no previous file with comments | « chrome/renderer/media/cast_session_delegate.cc ('k') | chrome/renderer/media/chrome_webrtc_log_message_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698