| Index: chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc
|
| diff --git a/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc b/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc
|
| index 766693adbd226120e1204196a99487207540307b..12ecab717f14ec30073f20c5e627b7ee01fb1fc7 100644
|
| --- a/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc
|
| +++ b/chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc
|
| @@ -12,9 +12,11 @@
|
| #include "base/process/kill.h"
|
| #include "base/process/process.h"
|
| #include "base/rand_util.h"
|
| +#include "base/single_thread_task_runner.h"
|
| #include "base/synchronization/waitable_event.h"
|
| #include "base/test/multiprocess_test.h"
|
| #include "base/test/test_timeouts.h"
|
| +#include "base/thread_task_runner_handle.h"
|
| #include "base/time/default_tick_clock.h"
|
| #include "base/time/time.h"
|
| #include "chrome/browser/chrome_content_browser_client.h"
|
| @@ -103,8 +105,8 @@ class TestServiceProcess : public ServiceProcess {
|
| bool Initialize(base::MessageLoopForUI* message_loop,
|
| ServiceProcessState* state);
|
|
|
| - base::MessageLoopProxy* IOMessageLoopProxy() {
|
| - return io_thread_->message_loop_proxy().get();
|
| + base::SingleThreadTaskRunner* IOMessageLoopProxy() {
|
| + return io_thread_->task_runner().get();
|
| }
|
| };
|
|
|
| @@ -462,7 +464,7 @@ base::Process CloudPrintProxyPolicyStartupTest::Launch(
|
| void CloudPrintProxyPolicyStartupTest::WaitForConnect() {
|
| observer_.Wait();
|
| EXPECT_TRUE(CheckServiceProcessReady());
|
| - EXPECT_TRUE(base::MessageLoopProxy::current().get());
|
| + EXPECT_TRUE(base::ThreadTaskRunnerHandle::Get().get());
|
| ServiceProcessControl::GetInstance()->SetChannel(
|
| IPC::ChannelProxy::Create(GetServiceProcessChannel(),
|
| IPC::Channel::MODE_NAMED_CLIENT,
|
|
|