| // Copyright 2018 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| #include "base/task_scheduler/service_thread.h" |
| #include "base/debug/alias.h" |
| #include "base/task_scheduler/post_task.h" |
| #include "base/task_scheduler/task_tracker.h" |
| #include "base/task_scheduler/task_traits.h" |
| #include "base/time/time.h" |
| ServiceThread::ServiceThread() : Thread("TaskSchedulerServiceThread") {} |
| void ServiceThread::Init() {} |
| NOINLINE void ServiceThread::Run(RunLoop* run_loop) { |
| const int line_number = __LINE__; |
| base::debug::Alias(&line_number); |