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

Unified Diff: chrome/test/automation/dom_automation_browsertest.cc

Issue 10736064: Switch to TimeDelta interfaces in chrome automation test infrastructure. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 5 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
« no previous file with comments | « chrome/test/automation/browser_proxy.cc ('k') | chrome/test/automation/javascript_execution_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/automation/dom_automation_browsertest.cc
diff --git a/chrome/test/automation/dom_automation_browsertest.cc b/chrome/test/automation/dom_automation_browsertest.cc
index 5bc4a4c9e0aeab40526837fdb7bd9d2438669587..6b3e7c87310931672891c02ac4bdf68cd8123e03 100644
--- a/chrome/test/automation/dom_automation_browsertest.cc
+++ b/chrome/test/automation/dom_automation_browsertest.cc
@@ -56,7 +56,8 @@ class DOMAutomationTest : public InProcessBrowserTest {
public:
DOMAutomationTest() {
EnableDOMAutomation();
- JavaScriptExecutionController::set_timeout(30000);
+ JavaScriptExecutionController::set_timeout(
+ base::TimeDelta::FromSeconds(30));
}
GURL GetTestURL(const char* path) {
« no previous file with comments | « chrome/test/automation/browser_proxy.cc ('k') | chrome/test/automation/javascript_execution_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698