| Index: remoting/host/heartbeat_sender.h
|
| diff --git a/remoting/host/heartbeat_sender.h b/remoting/host/heartbeat_sender.h
|
| index d914e556dae25239edb68712e4cc730085c627ed..f30c07af1136f24d617036210e8889188d503853 100644
|
| --- a/remoting/host/heartbeat_sender.h
|
| +++ b/remoting/host/heartbeat_sender.h
|
| @@ -16,6 +16,10 @@
|
| #include "remoting/jingle_glue/iq_request.h"
|
| #include "testing/gtest/include/gtest/gtest_prod.h"
|
|
|
| +namespace base {
|
| +class MessageLoopProxy;
|
| +} // namespace base
|
| +
|
| namespace remoting {
|
|
|
| class IqRequest;
|
| @@ -58,7 +62,7 @@ class MutableHostConfig;
|
| // TODO(sergeyu): Is it enough to sign JID and nothing else?
|
| class HeartbeatSender : public HostStatusObserver {
|
| public:
|
| - HeartbeatSender(MessageLoop* main_loop,
|
| + HeartbeatSender(base::MessageLoopProxy* main_loop,
|
| MutableHostConfig* config);
|
| virtual ~HeartbeatSender();
|
|
|
| @@ -99,7 +103,7 @@ class HeartbeatSender : public HostStatusObserver {
|
| buzz::XmlElement* CreateSignature();
|
|
|
| State state_;
|
| - MessageLoop* message_loop_;
|
| + scoped_refptr<base::MessageLoopProxy> message_loop_;
|
| scoped_refptr<MutableHostConfig> config_;
|
| std::string host_id_;
|
| HostKeyPair key_pair_;
|
|
|