| Index: components/test_runner/test_runner.h
|
| diff --git a/components/test_runner/test_runner.h b/components/test_runner/test_runner.h
|
| index d4f3ed99bc7f7a72978c139e7c76dced2b670da3..b065a76a39f22e41a608034b1b0c7b019c6c24ce 100644
|
| --- a/components/test_runner/test_runner.h
|
| +++ b/components/test_runner/test_runner.h
|
| @@ -578,6 +578,11 @@ class TestRunner : public WebTestRunner,
|
| void ResolveBeforeInstallPromptPromise(int request_id,
|
| const std::string& platform);
|
|
|
| + // Immediately run all pending idle tasks, including all pending
|
| + // requestIdleCallback calls. Invoke the callback when all
|
| + // idle tasks are complete.
|
| + void RunIdleTasks(v8::Local<v8::Function> callback);
|
| +
|
| // Calls setlocale(LC_ALL, ...) for a specified locale.
|
| // Resets between tests.
|
| void SetPOSIXLocale(const std::string& locale);
|
|
|