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

Unified Diff: remoting/client/frame_consumer_proxy.h

Issue 10454018: MessageLoopProxy cleanups in remoting client. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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
« no previous file with comments | « remoting/client/client_context.cc ('k') | remoting/client/frame_consumer_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/frame_consumer_proxy.h
diff --git a/remoting/client/frame_consumer_proxy.h b/remoting/client/frame_consumer_proxy.h
index 0ee6e4660b805c544629cc11b92432a5dc43e402..d5dfd45bf6c5f0d136a220461e1f5f725cd343a5 100644
--- a/remoting/client/frame_consumer_proxy.h
+++ b/remoting/client/frame_consumer_proxy.h
@@ -15,7 +15,7 @@
#include "remoting/client/frame_consumer.h"
namespace base {
-class MessageLoopProxy;
+class SingleThreadTaskRunner;
} // namespace base
namespace remoting {
@@ -26,8 +26,7 @@ class FrameConsumerProxy
public:
// Constructs a proxy for |frame_consumer| which will trampoline invocations
// to |frame_consumer_message_loop|.
- FrameConsumerProxy(
- scoped_refptr<base::MessageLoopProxy> frame_consumer_message_loop);
+ FrameConsumerProxy(scoped_refptr<base::SingleThreadTaskRunner> task_runner);
// FrameConsumer implementation.
virtual void ApplyBuffer(const SkISize& view_size,
@@ -46,7 +45,7 @@ class FrameConsumerProxy
virtual ~FrameConsumerProxy();
base::WeakPtr<FrameConsumer> frame_consumer_;
- scoped_refptr<base::MessageLoopProxy> frame_consumer_message_loop_;
+ scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
DISALLOW_COPY_AND_ASSIGN(FrameConsumerProxy);
};
« no previous file with comments | « remoting/client/client_context.cc ('k') | remoting/client/frame_consumer_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698