Index: remoting/host/it2me/it2me_host.h |
diff --git a/remoting/host/it2me/it2me_host.h b/remoting/host/it2me/it2me_host.h |
index c24f2d10d4e6f136f47027888180a9cd35afc276..c12242a46c5ac26756317c052f3fabe5b6dc584c 100644 |
--- a/remoting/host/it2me/it2me_host.h |
+++ b/remoting/host/it2me/it2me_host.h |
@@ -123,6 +123,10 @@ class It2MeHost : public base::RefCountedThreadSafe<It2MeHost>, |
// the UI thread. |
void ShutdownOnUiThread(); |
+ // Called when |policy_watcher_| has stopped listening for changes so that it |
+ // safe to delete the |policy_watcher_| object. |
+ void OnPolicyWatcherShutdown(); |
+ |
// Called when initial policies are read, and when they change. |
void OnPolicyUpdate(scoped_ptr<base::DictionaryValue> policies); |
@@ -136,6 +140,7 @@ class It2MeHost : public base::RefCountedThreadSafe<It2MeHost>, |
// responsible for keeping it alive throughout the liftime of the host. |
ChromotingHostContext* host_context_; |
scoped_refptr<base::SingleThreadTaskRunner> task_runner_; |
+ scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_; |
base::WeakPtr<It2MeHost::Observer> observer_; |
XmppSignalStrategy::XmppServerConfig xmpp_server_config_; |
std::string directory_bot_jid_; |