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

Side by Side Diff: components/scheduler/child/idle_helper.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
« no previous file with comments | « components/scheduler/child/child_scheduler.h ('k') | components/scheduler/child/idle_helper.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_IDLE_HELPER_H_ 5 #ifndef COMPONENTS_SCHEDULER_CHILD_IDLE_HELPER_H_
6 #define COMPONENTS_SCHEDULER_CHILD_IDLE_HELPER_H_ 6 #define COMPONENTS_SCHEDULER_CHILD_IDLE_HELPER_H_
7 7
8 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 #include "components/scheduler/child/cancelable_closure_holder.h" 9 #include "components/scheduler/base/cancelable_closure_holder.h"
10 #include "components/scheduler/base/task_queue_selector.h"
10 #include "components/scheduler/child/scheduler_helper.h" 11 #include "components/scheduler/child/scheduler_helper.h"
11 #include "components/scheduler/child/single_thread_idle_task_runner.h" 12 #include "components/scheduler/child/single_thread_idle_task_runner.h"
12 #include "components/scheduler/child/task_queue_selector.h"
13 #include "components/scheduler/scheduler_export.h" 13 #include "components/scheduler/scheduler_export.h"
14 14
15 namespace scheduler { 15 namespace scheduler {
16 16
17 class SchedulerHelper; 17 class SchedulerHelper;
18 18
19 // Common scheduler functionality for Idle tasks. 19 // Common scheduler functionality for Idle tasks.
20 class SCHEDULER_EXPORT IdleHelper 20 class SCHEDULER_EXPORT IdleHelper
21 : public base::MessageLoop::TaskObserver, 21 : public base::MessageLoop::TaskObserver,
22 public SingleThreadIdleTaskRunner::Delegate { 22 public SingleThreadIdleTaskRunner::Delegate {
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 212
213 base::WeakPtr<IdleHelper> weak_idle_helper_ptr_; 213 base::WeakPtr<IdleHelper> weak_idle_helper_ptr_;
214 base::WeakPtrFactory<IdleHelper> weak_factory_; 214 base::WeakPtrFactory<IdleHelper> weak_factory_;
215 215
216 DISALLOW_COPY_AND_ASSIGN(IdleHelper); 216 DISALLOW_COPY_AND_ASSIGN(IdleHelper);
217 }; 217 };
218 218
219 } // namespace scheduler 219 } // namespace scheduler
220 220
221 #endif // COMPONENTS_SCHEDULER_CHILD_IDLE_HELPER_H_ 221 #endif // COMPONENTS_SCHEDULER_CHILD_IDLE_HELPER_H_
OLDNEW
« no previous file with comments | « components/scheduler/child/child_scheduler.h ('k') | components/scheduler/child/idle_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698