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

Unified Diff: remoting/host/policy_hack/policy_watcher_unittest.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/policy_hack/policy_watcher_unittest.cc
diff --git a/remoting/host/policy_hack/policy_watcher_unittest.cc b/remoting/host/policy_hack/policy_watcher_unittest.cc
index a04fe87a1e0260bbebeab4bb1ed280543bc904b8..f01b042a96688dc29fb2d6a952f64ce091e10a50 100644
--- a/remoting/host/policy_hack/policy_watcher_unittest.cc
+++ b/remoting/host/policy_hack/policy_watcher_unittest.cc
@@ -555,7 +555,7 @@ TEST_F(PolicyWatcherTest, TestRealChromotingPolicy) {
scoped_refptr<base::SingleThreadTaskRunner> task_runner =
base::MessageLoop::current()->task_runner();
scoped_ptr<PolicyWatcher> policy_watcher(
- PolicyWatcher::Create(nullptr, task_runner));
+ PolicyWatcher::Create(nullptr, task_runner, task_runner));
{
base::RunLoop run_loop;

Powered by Google App Engine
This is Rietveld 408576698