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

Side by Side Diff: components/scheduler/base/task_queue.h

Issue 1374653003: scheduler: Add a base directory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed gn clobber build. Created 5 years, 2 months 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_SCHEDULER_CHILD_TASK_QUEUE_H_ 5 #ifndef COMPONENTS_SCHEDULER_BASE_TASK_QUEUE_H_
6 #define COMPONENTS_SCHEDULER_CHILD_TASK_QUEUE_H_ 6 #define COMPONENTS_SCHEDULER_BASE_TASK_QUEUE_H_
7 7
8 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 #include "base/single_thread_task_runner.h" 9 #include "base/single_thread_task_runner.h"
10 #include "components/scheduler/scheduler_export.h" 10 #include "components/scheduler/scheduler_export.h"
11 11
12 namespace scheduler { 12 namespace scheduler {
13 13
14 class SCHEDULER_EXPORT TaskQueue : public base::SingleThreadTaskRunner { 14 class SCHEDULER_EXPORT TaskQueue : public base::SingleThreadTaskRunner {
15 public: 15 public:
16 TaskQueue() {} 16 TaskQueue() {}
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 base::MessageLoop::TaskObserver* task_observer) = 0; 174 base::MessageLoop::TaskObserver* task_observer) = 0;
175 175
176 protected: 176 protected:
177 ~TaskQueue() override {} 177 ~TaskQueue() override {}
178 178
179 DISALLOW_COPY_AND_ASSIGN(TaskQueue); 179 DISALLOW_COPY_AND_ASSIGN(TaskQueue);
180 }; 180 };
181 181
182 } // namespace scheduler 182 } // namespace scheduler
183 183
184 #endif // COMPONENTS_SCHEDULER_CHILD_TASK_QUEUE_H_ 184 #endif // COMPONENTS_SCHEDULER_BASE_TASK_QUEUE_H_
OLDNEW
« no previous file with comments | « components/scheduler/base/pollable_thread_safe_flag.cc ('k') | components/scheduler/base/task_queue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698