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

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: Adding changes 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/cast_session.h
diff --git a/chrome/renderer/media/cast_session.h b/chrome/renderer/media/cast_session.h
index afffb3503547cce2eab47ef9998ef8c79d63e131..3927c7270d8339bef29742c57791fba33dad64fe 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"
xhwang 2015/05/05 16:01:57 Can you forward declare here and include in .cc?
anujsharma 2015/05/06 03:42:45 Done.
#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.
xhwang 2015/05/05 16:01:57 Update this comment.
anujsharma 2015/05/06 03:42:45 Done.
- const scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy_;
+ const scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_;
DISALLOW_COPY_AND_ASSIGN(CastSession);
};

Powered by Google App Engine
This is Rietveld 408576698