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

Unified Diff: chrome/test/perf/page_cycler_test.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/perf/kraken_benchmark_uitest.cc ('k') | chrome/test/perf/startup_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/perf/page_cycler_test.cc
diff --git a/chrome/test/perf/page_cycler_test.cc b/chrome/test/perf/page_cycler_test.cc
index b662660f6b2490484ee6e045a3f1c753a7df4360..65b3621144ad0509b2704dc3e655ad771a8bab09 100644
--- a/chrome/test/perf/page_cycler_test.cc
+++ b/chrome/test/perf/page_cycler_test.cc
@@ -201,7 +201,7 @@ class PageCyclerTest : public UIPerfTest {
// Wait for the test to finish.
ASSERT_TRUE(WaitUntilCookieValue(
tab.get(), test_url, "__pc_done",
- TestTimeouts::large_test_timeout_ms(), "1"));
+ TestTimeouts::large_test_timeout(), "1"));
std::string cookie;
ASSERT_TRUE(tab->GetCookieByName(test_url, "__pc_pages", &cookie));
@@ -211,7 +211,7 @@ class PageCyclerTest : public UIPerfTest {
// Wait for the report.html to be loaded.
ASSERT_TRUE(WaitUntilCookieValue(
tab.get(), test_url, "__navigated_to_report",
- TestTimeouts::action_max_timeout_ms(), "1"));
+ TestTimeouts::action_max_timeout(), "1"));
// Get the timing cookie value from the DOM automation.
std::wstring wcookie;
« no previous file with comments | « chrome/test/perf/kraken_benchmark_uitest.cc ('k') | chrome/test/perf/startup_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698