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

Unified Diff: content/shell/renderer/test_runner/test_runner.h

Issue 725593006: Implementation of TestRunner::Sleep (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: long line Created 6 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
« no previous file with comments | « no previous file | content/shell/renderer/test_runner/test_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/test_runner/test_runner.h
diff --git a/content/shell/renderer/test_runner/test_runner.h b/content/shell/renderer/test_runner/test_runner.h
index c71502205d93d109a865787bbb96a921203a4d17..7a0ceff8c54e9d4cbfd2ebfc2d27edb922900626 100644
--- a/content/shell/renderer/test_runner/test_runner.h
+++ b/content/shell/renderer/test_runner/test_runner.h
@@ -419,6 +419,9 @@ class TestRunner : public WebTestRunner,
// that may be present.
void DumpResourceResponseMIMETypes();
+ // Will block script execution and loading during a given interval.
+ void Sleep(int milliseconds);
+
// WebPermissionClient related.
void SetImagesAllowed(bool allowed);
void SetMediaAllowed(bool allowed);
« no previous file with comments | « no previous file | content/shell/renderer/test_runner/test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698