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

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

Issue 1123733002: [chrome/renderer/media] Replace MessageLoopProxy usage with ThreadTaskRunnerHandle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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/cast_session.h
diff --git a/chrome/renderer/media/cast_session.h b/chrome/renderer/media/cast_session.h
index afffb3503547cce2eab47ef9998ef8c79d63e131..b15f23b05a32f773e5a1b761c6908398f26dfd58 100644
--- a/chrome/renderer/media/cast_session.h
+++ b/chrome/renderer/media/cast_session.h
@@ -11,12 +11,12 @@
#include "base/callback.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
+#include "base/single_thread_task_runner.h"
#include "net/base/ip_endpoint.h"
namespace base {
class BinaryValue;
class DictionaryValue;
-class MessageLoopProxy;
} // namespace base
namespace media {
@@ -101,7 +101,7 @@ class CastSession : public base::RefCounted<CastSession> {
scoped_ptr<CastSessionDelegate> delegate_;
// Proxy to the IO message loop.
- const scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy_;
+ const scoped_refptr<base::SingleThreadTaskRunner> io_message_loop_proxy_;
DISALLOW_COPY_AND_ASSIGN(CastSession);
};

Powered by Google App Engine
This is Rietveld 408576698