Chromium Code Reviews| Index: remoting/host/it2me/it2me_native_messaging_host.h |
| diff --git a/remoting/host/it2me/it2me_native_messaging_host.h b/remoting/host/it2me/it2me_native_messaging_host.h |
| index 5a71a541a28ca7fd5bd38890c68f83383e50ffbd..63644425b5740058442552652c6f868c0a9259a0 100644 |
| --- a/remoting/host/it2me/it2me_native_messaging_host.h |
| +++ b/remoting/host/it2me/it2me_native_messaging_host.h |
| @@ -28,6 +28,7 @@ class SingleThreadTaskRunner; |
| namespace remoting { |
| class ChromotingHostContext; |
| +class DelegatingSignalStrategy; |
| class ElevatedNativeMessagingHost; |
| class PolicyWatcher; |
| @@ -67,10 +68,15 @@ class It2MeNativeMessagingHost : public It2MeHost::Observer, |
| std::unique_ptr<base::DictionaryValue> response); |
| void ProcessDisconnect(std::unique_ptr<base::DictionaryValue> message, |
| std::unique_ptr<base::DictionaryValue> response); |
| + void ProcessIncomingIq(std::unique_ptr<base::DictionaryValue> message, |
| + std::unique_ptr<base::DictionaryValue> response); |
| void SendErrorAndExit(std::unique_ptr<base::DictionaryValue> response, |
| const std::string& description) const; |
| void SendMessageToClient(std::unique_ptr<base::Value> message) const; |
| + // Callback for DelegatingSignalStrategy. |
| + void SendOutgoingIq(const std::string& iq); |
| + |
| // Called when initial policies are read. |
| void OnPolicyUpdate(std::unique_ptr<base::DictionaryValue> policies); |
| @@ -88,6 +94,7 @@ class It2MeNativeMessagingHost : public It2MeHost::Observer, |
| #endif // defined(OS_WIN) |
| Client* client_ = nullptr; |
| + DelegatingSignalStrategy* delegating_signal_strategy_; |
|
Sergey Ulanov
2016/10/05 21:49:07
= nullptr;
kelvinp
2016/10/06 00:43:05
Done.
|
| std::unique_ptr<ChromotingHostContext> host_context_; |
| std::unique_ptr<It2MeHostFactory> factory_; |
| scoped_refptr<It2MeHost> it2me_host_; |