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

Unified Diff: base/task_scheduler/test_task_factory.h

Issue 1911023002: TaskScheduler: Add TaskRunnerHandle support to TaskScheduler tasks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@c1_1876363004_STTR
Patch Set: review:fdoray#17 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: base/task_scheduler/test_task_factory.h
diff --git a/base/task_scheduler/test_task_factory.h b/base/task_scheduler/test_task_factory.h
index 9a11882209b20ae559197b4e638b6692f23490cf..4afb786894deac82d534349bb5b90403002622d0 100644
--- a/base/task_scheduler/test_task_factory.h
+++ b/base/task_scheduler/test_task_factory.h
@@ -26,6 +26,8 @@ namespace test {
// A TestTaskFactory posts tasks to a TaskRunner and verifies that they run as
// expected. Generates a test failure when:
+// - The TaskRunnerHandles set in the context of the task don't match what's
+// - expected for the tested ExecutionMode.
fdoray 2016/04/28 14:37:52 no hyphen on this line
gab 2016/04/28 15:43:23 Done.
// - The ExecutionMode of the TaskRunner is SEQUENCED or SINGLE_THREADED and
// Tasks don't run in posting order.
// - The ExecutionMode of the TaskRunner is SINGLE_THREADED and Tasks don't

Powered by Google App Engine
This is Rietveld 408576698