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

Unified Diff: components/policy/core/common/cloud/cloud_policy_core_unittest.cc

Issue 1144153004: components: Remove use of MessageLoopProxy and deprecated MessageLoop APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 5 years, 7 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: components/policy/core/common/cloud/cloud_policy_core_unittest.cc
diff --git a/components/policy/core/common/cloud/cloud_policy_core_unittest.cc b/components/policy/core/common/cloud/cloud_policy_core_unittest.cc
index 8f9ef9d541db32d6f88fc0989ab63f0c30f00526..b03594c9b3a23f2cf9e0a56b86eff74335fab0e6 100644
--- a/components/policy/core/common/cloud/cloud_policy_core_unittest.cc
+++ b/components/policy/core/common/cloud/cloud_policy_core_unittest.cc
@@ -5,7 +5,6 @@
#include "components/policy/core/common/cloud/cloud_policy_core.h"
#include "base/basictypes.h"
-#include "base/message_loop/message_loop.h"
#include "base/prefs/pref_registry_simple.h"
#include "base/prefs/testing_pref_service.h"
#include "components/policy/core/common/cloud/cloud_policy_constants.h"
@@ -24,7 +23,7 @@ class CloudPolicyCoreTest : public testing::Test,
: core_(dm_protocol::kChromeUserPolicyType,
std::string(),
&store_,
- loop_.message_loop_proxy()),
+ loop_.task_runner()),
core_connected_callback_count_(0),
refresh_scheduler_started_callback_count_(0),
core_disconnecting_callback_count_(0),

Powered by Google App Engine
This is Rietveld 408576698