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

Unified Diff: components/scheduler/test/renderer_scheduler_test_support.h

Issue 1832673002: Add testRunner.runIdleTasks() to force idle tasks to run. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: add test Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: components/scheduler/test/renderer_scheduler_test_support.h
diff --git a/components/scheduler/test/renderer_scheduler_test_support.h b/components/scheduler/test/renderer_scheduler_test_support.h
new file mode 100644
index 0000000000000000000000000000000000000000..3a5a6e5b429706db2a6dbc83baa1cf4ba6fa3f93
--- /dev/null
+++ b/components/scheduler/test/renderer_scheduler_test_support.h
@@ -0,0 +1,14 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
Sami 2016/04/06 15:52:38 ++year
szager1 2016/04/06 17:55:31 Done.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "base/bind.h"
+
+namespace scheduler {
+
+class RendererScheduler;
+
+extern void RunIdleTasksForTesting(RendererScheduler* scheduler,
+ const base::Closure& callback);
+
+}

Powered by Google App Engine
This is Rietveld 408576698