| Index: chrome/browser/local_discovery/privet_notifications_unittest.cc
|
| diff --git a/chrome/browser/local_discovery/privet_notifications_unittest.cc b/chrome/browser/local_discovery/privet_notifications_unittest.cc
|
| index 5ee723d6b89b1e7a66f59b0d2c4658b55fb529a2..c96a52b5784760477f80956983c00f8af17fbf2c 100644
|
| --- a/chrome/browser/local_discovery/privet_notifications_unittest.cc
|
| +++ b/chrome/browser/local_discovery/privet_notifications_unittest.cc
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +#include "base/thread_task_runner_handle.h"
|
| #include "chrome/browser/local_discovery/privet_http_asynchronous_factory.h"
|
| -
|
| #include "chrome/browser/local_discovery/privet_http_impl.h"
|
| #include "chrome/browser/local_discovery/privet_notifications.h"
|
| #include "net/url_request/test_url_fetcher_factory.h"
|
| @@ -80,8 +80,9 @@ class MockPrivetHttpFactory : public PrivetHTTPAsynchronousFactory {
|
|
|
| class PrivetNotificationsListenerTest : public ::testing::Test {
|
| public:
|
| - PrivetNotificationsListenerTest() : request_context_(
|
| - new net::TestURLRequestContextGetter(base::MessageLoopProxy::current())) {
|
| + PrivetNotificationsListenerTest()
|
| + : request_context_(new net::TestURLRequestContextGetter(
|
| + base::ThreadTaskRunnerHandle::Get())) {
|
| notification_listener_.reset(new PrivetNotificationsListener(
|
| scoped_ptr<PrivetHTTPAsynchronousFactory>(
|
| new MockPrivetHttpFactory(request_context_.get())),
|
|
|