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

Unified Diff: mojo/edk/base_edk/platform_task_runner_impl.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/base_edk/message_loop_test_helper.cc ('k') | mojo/edk/base_edk/platform_task_runner_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/base_edk/platform_task_runner_impl.h
diff --git a/mojo/edk/base_edk/platform_task_runner_impl.h b/mojo/edk/base_edk/platform_task_runner_impl.h
index 9e453326ffbc08aec30733b20b48eb58b87f02b8..b2f4fcc127c2aa07f109e054e45f61f6e1dcd082 100644
--- a/mojo/edk/base_edk/platform_task_runner_impl.h
+++ b/mojo/edk/base_edk/platform_task_runner_impl.h
@@ -22,6 +22,7 @@ class PlatformTaskRunnerImpl : public mojo::platform::TaskRunner {
~PlatformTaskRunnerImpl() override;
// |mojo::platform::TaskRunner| implementation:
+ void PostTask(std::function<void()>&& task) override;
void PostTask(const base::Closure& task) override;
bool RunsTasksOnCurrentThread() const override;
« no previous file with comments | « mojo/edk/base_edk/message_loop_test_helper.cc ('k') | mojo/edk/base_edk/platform_task_runner_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698