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

Unified Diff: components/policy/core/common/configuration_policy_provider_test.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/configuration_policy_provider_test.cc
diff --git a/components/policy/core/common/configuration_policy_provider_test.cc b/components/policy/core/common/configuration_policy_provider_test.cc
index 74c9cc1ad774cde3f90b2e38377e14868cda1f4d..0f407e59f89445eb395c0507643cfff2413ee82f 100644
--- a/components/policy/core/common/configuration_policy_provider_test.cc
+++ b/components/policy/core/common/configuration_policy_provider_test.cc
@@ -6,7 +6,6 @@
#include "base/bind.h"
#include "base/callback.h"
-#include "base/message_loop/message_loop_proxy.h"
#include "base/values.h"
#include "components/policy/core/common/configuration_policy_provider.h"
#include "components/policy/core/common/external_data_fetcher.h"
@@ -193,8 +192,8 @@ void ConfigurationPolicyProviderTest::SetUp() {
"cccccccccccccccccccccccccccccccc"),
extension_schema);
- provider_.reset(test_harness_->CreateProvider(&schema_registry_,
- loop_.message_loop_proxy()));
+ provider_.reset(
+ test_harness_->CreateProvider(&schema_registry_, loop_.task_runner()));
provider_->Init(&schema_registry_);
// Some providers do a reload on init. Make sure any notifications generated
// are fired now.

Powered by Google App Engine
This is Rietveld 408576698