Lines Matching full:scheduler
5 #include "tools/gn/scheduler.h"
12 Scheduler* g_scheduler = NULL;
28 Scheduler::Scheduler()
38 Scheduler::~Scheduler() {
44 bool Scheduler::Run() {
58 void Scheduler::Log(const std::string& verb, const std::string& msg) {
65 base::Bind(&Scheduler::LogOnMainThread,
70 void Scheduler::FailWithError(const Err& err) {
86 base::Bind(&Scheduler::FailWithErrorOnMainThread,
91 void Scheduler::ScheduleWork(const base::Closure& work) {
94 FROM_HERE, base::Bind(&Scheduler::DoWork,
99 void Scheduler::AddGenDependency(const base::FilePath& file) {
104 std::vector<base::FilePath> Scheduler::GetGenDependencies() const {
109 void Scheduler::IncrementWorkCount() {
113 void Scheduler::DecrementWorkCount() {
119 base::Bind(&Scheduler::OnComplete,
125 void Scheduler::LogOnMainThread(const std::string& verb,
131 void Scheduler::FailWithErrorOnMainThread(const Err& err) {
136 void Scheduler::DoWork(const base::Closure& closure) {
141 void Scheduler::OnComplete() {