Commit 3108a1c2 authored by Carlos Caballero's avatar Carlos Caballero Committed by Commit Bot

Remove MessageLoop references in services/network/public/cpp

MessageLoop is going away soon.

This CL was uploaded by git cl split.

R=dominickn@chromium.org

Bug: 891670
Change-Id: Ied8aaf4fc0778567283544e64c84b37f3f547c5e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1878373
Commit-Queue: Dominick Ng <dominickn@chromium.org>
Reviewed-by: default avatarDominick Ng <dominickn@chromium.org>
Auto-Submit: Carlos Caballero <carlscab@google.com>
Cr-Commit-Position: refs/heads/master@{#709234}
parent 0d823a33
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#include "base/message_loop/message_loop.h"
#include "base/strings/string_util.h" #include "base/strings/string_util.h"
#include "base/test/task_environment.h"
#include "mojo/public/cpp/bindings/pending_remote.h" #include "mojo/public/cpp/bindings/pending_remote.h"
#include "mojo/public/cpp/bindings/receiver_set.h" #include "mojo/public/cpp/bindings/receiver_set.h"
#include "mojo/public/cpp/bindings/remote.h" #include "mojo/public/cpp/bindings/remote.h"
...@@ -34,7 +34,7 @@ class NetworkStructTraitsTest : public testing::Test, ...@@ -34,7 +34,7 @@ class NetworkStructTraitsTest : public testing::Test,
std::move(callback).Run(header); std::move(callback).Run(header);
} }
base::MessageLoop loop_; base::test::SingleThreadTaskEnvironment task_environment_;
mojo::ReceiverSet<TraitsTestService> traits_test_receivers_; mojo::ReceiverSet<TraitsTestService> traits_test_receivers_;
DISALLOW_COPY_AND_ASSIGN(NetworkStructTraitsTest); DISALLOW_COPY_AND_ASSIGN(NetworkStructTraitsTest);
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment