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

Unified Diff: remoting/protocol/video_writer.h

Issue 7633009: Use MessageLoopProxy for network message loop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 9 years, 4 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/protocol/video_reader.cc ('k') | remoting/protocol/video_writer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/video_writer.h
diff --git a/remoting/protocol/video_writer.h b/remoting/protocol/video_writer.h
index 68b19fd4563fb9e8440610d5dfa8ba2645fd2288..2b5a7be6e4fcddb4090cb0914d131b174b2a21f5 100644
--- a/remoting/protocol/video_writer.h
+++ b/remoting/protocol/video_writer.h
@@ -14,6 +14,10 @@
#include "base/callback.h"
#include "remoting/protocol/video_stub.h"
+namespace base {
+class MessageLoopProxy;
+} // namespace base
+
namespace remoting {
namespace protocol {
@@ -28,7 +32,8 @@ class VideoWriter : public VideoStub {
// parameter is set to true on success.
typedef base::Callback<void(bool)> InitializedCallback;
- static VideoWriter* Create(const SessionConfig* config);
+ static VideoWriter* Create(base::MessageLoopProxy* message_loop,
+ const SessionConfig* config);
// Initializes the writer.
virtual void Init(Session* session, const InitializedCallback& callback) = 0;
« no previous file with comments | « remoting/protocol/video_reader.cc ('k') | remoting/protocol/video_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698