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

Unified Diff: components/scheduler/common/scheduler_switches.cc

Issue 1424053002: Adds a flag to support "Virtual Time" to the blink scheduler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: components/scheduler/common/scheduler_switches.cc
diff --git a/components/scheduler/common/scheduler_switches.cc b/components/scheduler/common/scheduler_switches.cc
new file mode 100644
index 0000000000000000000000000000000000000000..8ea8fe90d86b468daf388022a0706844d4b9b296
--- /dev/null
+++ b/components/scheduler/common/scheduler_switches.cc
@@ -0,0 +1,16 @@
+// Copyright 2015 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 "components/scheduler/common/scheduler_switches.h"
+
+namespace scheduler {
+namespace switches {
+
+// Enable Virtualized time where the render thread's time source skips forward
+// to the next scheduled delayed time if there is no more non-delayed work to be
+// done.
+const char kEnableVirtualizedTime[] = "enable-virtualized-time";
+
+} // namespace switches
+} // namespace scheduler
« no previous file with comments | « components/scheduler/common/scheduler_switches.h ('k') | components/scheduler/ppapi/webthread_impl_for_ppapi.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698