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

Unified Diff: chrome/test/perf/tab_switching_test.cc

Issue 10787010: Switch to TimeDelta interfaces in chrome automation test infrastructure. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase onto master. 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/perf/sunspider_uitest.cc ('k') | chrome/test/perf/url_fetch_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/perf/tab_switching_test.cc
diff --git a/chrome/test/perf/tab_switching_test.cc b/chrome/test/perf/tab_switching_test.cc
index 4ae8cb62863cb2a548cb989e937b1d0644e70789..76e2ecaa73d115634ba5a71b75ed7a736cae11b2 100644
--- a/chrome/test/perf/tab_switching_test.cc
+++ b/chrome/test/perf/tab_switching_test.cc
@@ -97,7 +97,8 @@ class TabSwitchingUITest : public UIPerfTest {
ASSERT_TRUE(browser_proxy_->GetTabCount(&final_tab_count));
for (int j = initial_tab_count; j < final_tab_count; ++j) {
ASSERT_TRUE(browser_proxy_->ActivateTab(j));
- ASSERT_TRUE(browser_proxy_->WaitForTabToBecomeActive(j, 10000));
+ ASSERT_TRUE(browser_proxy_->WaitForTabToBecomeActive(
+ j, base::TimeDelta::FromSeconds(10)));
}
// Close the browser to force a dump of log.
« no previous file with comments | « chrome/test/perf/sunspider_uitest.cc ('k') | chrome/test/perf/url_fetch_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698