OLD | NEW |
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 #include "components/scheduler/common/scheduler_switches.h" | 5 #include "components/scheduler/common/scheduler_switches.h" |
6 | 6 |
7 namespace scheduler { | 7 namespace scheduler { |
8 namespace switches { | 8 namespace switches { |
9 | 9 |
10 // Enable Virtualized time where the render thread's time source skips forward | |
11 // to the next scheduled delayed time if there is no more non-delayed work to be | |
12 // done. | |
13 const char kEnableVirtualizedTime[] = "enable-virtualized-time"; | |
14 | |
15 // Disable task throttling of timer tasks from background pages. | 10 // Disable task throttling of timer tasks from background pages. |
16 const char kDisableBackgroundTimerThrottling[] = | 11 const char kDisableBackgroundTimerThrottling[] = |
17 "disable-background-timer-throttling"; | 12 "disable-background-timer-throttling"; |
18 | 13 |
19 } // namespace switches | 14 } // namespace switches |
20 } // namespace scheduler | 15 } // namespace scheduler |
OLD | NEW |