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

Unified Diff: mojo/edk/system/data_pipe_impl_unittest.cc

Issue 1408133004: EDK: Remove tracked_objects::Location argument in TestIOThread methods (etc.). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « mojo/edk/system/channel_unittest.cc ('k') | mojo/edk/system/endpoint_relayer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/data_pipe_impl_unittest.cc
diff --git a/mojo/edk/system/data_pipe_impl_unittest.cc b/mojo/edk/system/data_pipe_impl_unittest.cc
index c3c30dcc124bdad4ac4fdcd582a8f480e3596ade..24a4bcac55d13542d8cb49f9f16ddc84dc1c7734 100644
--- a/mojo/edk/system/data_pipe_impl_unittest.cc
+++ b/mojo/edk/system/data_pipe_impl_unittest.cc
@@ -13,7 +13,6 @@
#include <utility>
#include "base/bind.h"
-#include "base/location.h"
#include "base/logging.h"
#include "base/message_loop/message_loop.h"
#include "mojo/edk/embedder/platform_channel_pair.h"
@@ -232,18 +231,17 @@ class RemoteDataPipeImplTestHelper : public DataPipeImplTestHelper {
message_pipes_[0] = MessagePipe::CreateLocalProxy(&ep[0]);
message_pipes_[1] = MessagePipe::CreateLocalProxy(&ep[1]);
- io_thread_.PostTaskAndWait(
- FROM_HERE, base::Bind(&RemoteDataPipeImplTestHelper::SetUpOnIOThread,
- base::Unretained(this), base::Passed(&ep[0]),
- base::Passed(&ep[1])));
+ io_thread_.PostTaskAndWait(base::Bind(
+ &RemoteDataPipeImplTestHelper::SetUpOnIOThread, base::Unretained(this),
+ base::Passed(&ep[0]), base::Passed(&ep[1])));
}
void TearDown() override {
EnsureMessagePipeClosed(0);
EnsureMessagePipeClosed(1);
io_thread_.PostTaskAndWait(
- FROM_HERE, base::Bind(&RemoteDataPipeImplTestHelper::TearDownOnIOThread,
- base::Unretained(this)));
+ base::Bind(&RemoteDataPipeImplTestHelper::TearDownOnIOThread,
+ base::Unretained(this)));
}
void Create(const MojoCreateDataPipeOptions& validated_options) override {
« no previous file with comments | « mojo/edk/system/channel_unittest.cc ('k') | mojo/edk/system/endpoint_relayer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698