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

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

Issue 1496663002: EDK: Make mojo::platform::TaskRunner's PostTask() take an std::function<void()>. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years 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_manager.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 4ca931cd267485cbb167734a2dc968daf23a3fc9..92b236c27ba1a79530767d29c2ef1e8dee1f4fba 100644
--- a/mojo/edk/system/channel_test_base.h
+++ b/mojo/edk/system/channel_test_base.h
@@ -7,7 +7,6 @@
#include <memory>
-#include "base/bind.h"
#include "mojo/edk/embedder/simple_platform_support.h"
#include "mojo/edk/system/channel.h"
#include "mojo/edk/system/test/test_io_thread.h"
@@ -30,12 +29,6 @@ class ChannelTestBase : public testing::Test {
void SetUp() override;
- template <typename Functor, typename... Args>
- void PostMethodToIOThreadAndWait(Functor functor, const Args&... args) {
- io_thread_.PostTaskAndWait(
- base::Bind(functor, base::Unretained(this), args...));
- }
-
// These should only be called from |io_thread()|:
void CreateChannelOnIOThread(unsigned i);
void InitChannelOnIOThread(unsigned i);
« no previous file with comments | « mojo/edk/system/channel_manager.cc ('k') | mojo/edk/system/channel_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698