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

Unified Diff: remoting/host/remoting_me2me_host.cc

Issue 886913002: Always run PolicyWatcher on UI thread in It2Me host. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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/remoting_me2me_host.cc
diff --git a/remoting/host/remoting_me2me_host.cc b/remoting/host/remoting_me2me_host.cc
index bd0f09b3e965a3d67170f698e483661b411133e8..045a5200d76e1ead6c521396feacc1fcb82078c3 100644
--- a/remoting/host/remoting_me2me_host.cc
+++ b/remoting/host/remoting_me2me_host.cc
@@ -555,7 +555,8 @@ void HostProcess::OnConfigUpdated(
// loading from policy verifications and move |policy_watcher_|
// initialization to StartOnNetworkThread().
policy_watcher_ = policy_hack::PolicyWatcher::Create(
- nullptr, context_->network_task_runner());
+ nullptr, context_->network_task_runner(),
+ context_->network_task_runner());
Łukasz Anforowicz 2015/01/30 05:35:55 I wonder if we should be using file_task_runner as
Sergey Ulanov 2015/01/30 19:33:45 Yes. Fixed.
policy_watcher_->StartWatching(
base::Bind(&HostProcess::OnPolicyUpdate, base::Unretained(this)),
base::Bind(&HostProcess::OnPolicyError, base::Unretained(this)));

Powered by Google App Engine
This is Rietveld 408576698