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

Unified Diff: base/test/test_mock_time_task_runner.h

Issue 879233003: Initial RemoteCommandService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remote-commands
Patch Set: minor fixes Created 5 years, 10 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/test/test_mock_time_task_runner.h
diff --git a/base/test/test_mock_time_task_runner.h b/base/test/test_mock_time_task_runner.h
index 1a651f6f81e053945d15d4bd24b75ecda2509b91..f4ac3c57222592d4100140dbd548d0ab3b7e4e4b 100644
--- a/base/test/test_mock_time_task_runner.h
+++ b/base/test/test_mock_time_task_runner.h
@@ -92,6 +92,11 @@ class TestMockTimeTaskRunner : public SingleThreadTaskRunner {
protected:
~TestMockTimeTaskRunner() override;
+ // Whether the elapsing of virtual time is stopped or not. Subclasses should
bartfab (slow) 2015/02/28 00:01:22 Nit: s/should/can/
binjin 2015/02/28 02:18:04 Done.
+ // override this method to perform early exit from running task runner.
bartfab (slow) 2015/02/28 00:01:22 Nit: s/exit from/exits from a/
binjin 2015/02/28 02:18:04 Done.
+ // Defaults to always return false.
+ virtual bool IsElapsingStopped();
+
// Called before the next task to run is selected, so that subclasses have a
// last chance to make sure all tasks are posted.
virtual void OnBeforeSelectingTask();
« no previous file with comments | « no previous file | base/test/test_mock_time_task_runner.cc » ('j') | components/policy/core/common/cloud/cloud_policy_client.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698