| Index: remoting/host/screen_recorder.h
|
| diff --git a/remoting/host/screen_recorder.h b/remoting/host/screen_recorder.h
|
| index 3007aa52917e6f62e8b53e33f82bbea2536a7039..3398548a37ee0b3bb6f25ea90984cf86a4457b7a 100644
|
| --- a/remoting/host/screen_recorder.h
|
| +++ b/remoting/host/screen_recorder.h
|
| @@ -17,6 +17,10 @@
|
| #include "remoting/host/capturer.h"
|
| #include "remoting/proto/video.pb.h"
|
|
|
| +namespace base {
|
| +class MessageLoopProxy;
|
| +} // namespace base
|
| +
|
| namespace remoting {
|
|
|
| namespace protocol {
|
| @@ -74,7 +78,7 @@ class ScreenRecorder : public base::RefCountedThreadSafe<ScreenRecorder> {
|
| // This object does not own capturer but owns encoder.
|
| ScreenRecorder(MessageLoop* capture_loop,
|
| MessageLoop* encode_loop,
|
| - MessageLoop* network_loop,
|
| + base::MessageLoopProxy* network_loop,
|
| Capturer* capturer,
|
| Encoder* encoder);
|
|
|
| @@ -160,7 +164,7 @@ class ScreenRecorder : public base::RefCountedThreadSafe<ScreenRecorder> {
|
| // Message loops used by this class.
|
| MessageLoop* capture_loop_;
|
| MessageLoop* encode_loop_;
|
| - MessageLoop* network_loop_;
|
| + scoped_refptr<base::MessageLoopProxy> network_loop_;
|
|
|
| // Reference to the capturer. This member is always accessed on the capture
|
| // thread.
|
|
|