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

Unified Diff: mojo/edk/system/channel_test_base.h

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_endpoint_unittest.cc ('k') | mojo/edk/system/channel_test_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/channel_test_base.h
diff --git a/mojo/edk/system/channel_test_base.h b/mojo/edk/system/channel_test_base.h
index 8518cbc3cf9315c723c96143f1b3167787cefcc4..8b1b9326b483fe19822f4c0a1ddd817e2c0e9c9f 100644
--- a/mojo/edk/system/channel_test_base.h
+++ b/mojo/edk/system/channel_test_base.h
@@ -8,7 +8,6 @@
#include <memory>
#include "base/bind.h"
-#include "base/location.h"
#include "mojo/edk/embedder/simple_platform_support.h"
#include "mojo/edk/system/channel.h"
#include "mojo/edk/system/ref_ptr.h"
@@ -32,11 +31,9 @@ class ChannelTestBase : public testing::Test {
void SetUp() override;
template <typename Functor, typename... Args>
- void PostMethodToIOThreadAndWait(const tracked_objects::Location& from_here,
- Functor functor,
- const Args&... args) {
+ void PostMethodToIOThreadAndWait(Functor functor, const Args&... args) {
io_thread_.PostTaskAndWait(
- from_here, base::Bind(functor, base::Unretained(this), args...));
+ base::Bind(functor, base::Unretained(this), args...));
}
// These should only be called from |io_thread()|:
« no previous file with comments | « mojo/edk/system/channel_endpoint_unittest.cc ('k') | mojo/edk/system/channel_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698