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

Unified Diff: chrome_frame/test/chrome_frame_test_utils.cc

Issue 10053004: Use TimeDelta for Chrome Frame test's TimedMsgLoop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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_frame/test/chrome_frame_test_utils.h ('k') | chrome_frame/test/delete_chrome_history_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/test/chrome_frame_test_utils.cc
diff --git a/chrome_frame/test/chrome_frame_test_utils.cc b/chrome_frame/test/chrome_frame_test_utils.cc
index 77f02fb14ce592a9ee90a5ddf4b6d0c2098fe0ab..fa504b84f1536ecd77a5b1d23cfbf408da3b5d39 100644
--- a/chrome_frame/test/chrome_frame_test_utils.cc
+++ b/chrome_frame/test/chrome_frame_test_utils.cc
@@ -51,11 +51,15 @@ const wchar_t kIEProfileName[] = L"iexplore";
const wchar_t kChromeLauncher[] = L"chrome_launcher.exe";
#ifndef NDEBUG
-const int kChromeFrameLongNavigationTimeoutInSeconds = 30;
-const int kChromeFrameVeryLongNavigationTimeoutInSeconds = 90;
+const base::TimeDelta kChromeFrameLongNavigationTimeout =
+ base::TimeDelta::FromSeconds(30);
+const base::TimeDelta kChromeFrameVeryLongNavigationTimeout =
+ base::TimeDelta::FromSeconds(90);
#else
-const int kChromeFrameLongNavigationTimeoutInSeconds = 15;
-const int kChromeFrameVeryLongNavigationTimeoutInSeconds = 45;
+const base::TimeDelta kChromeFrameLongNavigationTimeout =
+ base::TimeDelta::FromSeconds(15);
+const base::TimeDelta kChromeFrameVeryLongNavigationTimeout =
+ base::TimeDelta::FromSeconds(45);
#endif
// Callback function for EnumThreadWindows.
« no previous file with comments | « chrome_frame/test/chrome_frame_test_utils.h ('k') | chrome_frame/test/delete_chrome_history_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698