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 3324a0d64747cf17c487e5f679d2edc7564b2061..31d3e1985659c17bb8bb475ced07111c32a4a55e 100644 |
--- a/chrome_frame/test/chrome_frame_test_utils.cc |
+++ b/chrome_frame/test/chrome_frame_test_utils.cc |
@@ -49,8 +49,14 @@ const wchar_t kIEBrokerImageName[] = L"ieuser.exe"; |
const char kChromeImageName[] = "chrome.exe"; |
const wchar_t kIEProfileName[] = L"iexplore"; |
const wchar_t kChromeLauncher[] = L"chrome_launcher.exe"; |
-const int kChromeFrameLongNavigationTimeoutInSeconds = 10; |
-const int kChromeFrameVeryLongNavigationTimeoutInSeconds = 30; |
+ |
+#ifndef NDEBUG |
+const int kChromeFrameLongNavigationTimeoutInSeconds = 30; |
+const int kChromeFrameVeryLongNavigationTimeoutInSeconds = 90; |
+#else |
+const int kChromeFrameLongNavigationTimeoutInSeconds = 15; |
+const int kChromeFrameVeryLongNavigationTimeoutInSeconds = 45; |
+#endif |
// Callback function for EnumThreadWindows. |
BOOL CALLBACK CloseWindowsThreadCallback(HWND hwnd, LPARAM param) { |