3
#include "base/functional.h"
7
// Stuff that can execute other stuff, like threadpools, should inherit from this.
10
virtual void Run(std::function<void()> func) = 0;
13
class SameThreadExecutor : public Executor {
15
virtual void Run(std::function<void()> func);
18
} // namespace threading