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

Unified Diff: remoting/host/it2me/it2me_host.h

Issue 639233002: Remote assistance on Chrome OS Part IV - It2MeHost (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move DEPS to remoting/host Created 6 years, 2 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
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
Jamie 2014/10/14 01:18:42 s/so that/and/
kelvinp 2014/10/15 23:03:10 Done.
+ // safe to delete the |policy_watcher_| object.
Jamie 2014/10/14 01:18:42 s/safe/is safe/
kelvinp 2014/10/15 23:03:10 Done.
+ 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_;
Jamie 2014/10/14 01:18:42 It's not clear to me why this new member is needed
kelvinp 2014/10/15 23:03:10 The ChromotingHostContext is owned by the It2meNat
base::WeakPtr<It2MeHost::Observer> observer_;
XmppSignalStrategy::XmppServerConfig xmpp_server_config_;
std::string directory_bot_jid_;

Powered by Google App Engine
This is Rietveld 408576698