Index: chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc |
diff --git a/chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc b/chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc |
index 29f5eded72f0000aab65bd56e40e40182ba933e5..292507f5fc07f1e3d04b09e5e0ab1aea850e3d0b 100644 |
--- a/chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc |
+++ b/chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc |
@@ -11,10 +11,9 @@ |
#include "base/files/file_util.h" |
#include "base/json/json_writer.h" |
#include "base/memory/ref_counted.h" |
-#include "base/message_loop/message_loop.h" |
-#include "base/message_loop/message_loop_proxy.h" |
#include "base/path_service.h" |
#include "base/run_loop.h" |
+#include "base/thread_task_runner_handle.h" |
#include "base/values.h" |
#include "chrome/browser/chrome_notification_types.h" |
#include "chrome/browser/chromeos/policy/cloud_external_data_manager_base_test_util.h" |
@@ -185,15 +184,12 @@ void CloudExternalDataPolicyObserverTest::SetUp() { |
device_local_account_policy_service_.reset( |
new DeviceLocalAccountPolicyService( |
- &device_settings_test_helper_, |
- &device_settings_service_, |
- &cros_settings_, |
- &affiliated_invalidation_service_provider_, |
- base::MessageLoopProxy::current(), |
- base::MessageLoopProxy::current(), |
- base::MessageLoopProxy::current(), |
- base::MessageLoopProxy::current(), |
- nullptr)); |
+ &device_settings_test_helper_, &device_settings_service_, |
+ &cros_settings_, &affiliated_invalidation_service_provider_, |
+ base::ThreadTaskRunnerHandle::Get(), |
+ base::ThreadTaskRunnerHandle::Get(), |
+ base::ThreadTaskRunnerHandle::Get(), |
+ base::ThreadTaskRunnerHandle::Get(), nullptr)); |
url_fetcher_factory_.set_remove_fetcher_on_delete(true); |
EXPECT_CALL(user_policy_provider_, IsInitializationComplete(_)) |