summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cookie_modal_dialog_uitest.cc
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-19 16:35:54 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-19 16:35:54 +0000
commit84e1dff96238dfede15aed36ee2a9bf5a71dd9f9 (patch)
treef759071d37c3530bfe9a7a45d087a0c20c7f3091 /chrome/browser/cookie_modal_dialog_uitest.cc
parentdfa7406f877705d423d0fb63a9ea1a0001f0fbae (diff)
downloadchromium_src-84e1dff96238dfede15aed36ee2a9bf5a71dd9f9.zip
chromium_src-84e1dff96238dfede15aed36ee2a9bf5a71dd9f9.tar.gz
chromium_src-84e1dff96238dfede15aed36ee2a9bf5a71dd9f9.tar.bz2
[GTTF] Make automation timeouts more sane.
Do not expose command execution timeout outside ui_test.cc. This way people have less timeouts to choose from, which leaves less space for confusion. The option to manipulate the command execution timeout is still available, because it's still used and makes sense. Also updated misleading comments and names in ui_test.cc. TEST=ui_tests BUG=none Review URL: http://codereview.chromium.org/1078003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42112 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cookie_modal_dialog_uitest.cc')
-rw-r--r--chrome/browser/cookie_modal_dialog_uitest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/cookie_modal_dialog_uitest.cc b/chrome/browser/cookie_modal_dialog_uitest.cc
index 75f39a7..bcd204c 100644
--- a/chrome/browser/cookie_modal_dialog_uitest.cc
+++ b/chrome/browser/cookie_modal_dialog_uitest.cc
@@ -33,7 +33,7 @@ class CookieModalDialogTest : public UITest {
bool modal_dialog_showing = false;
MessageBoxFlags::DialogButton available_buttons;
ASSERT_TRUE(automation()->WaitForAppModalDialog(
- command_execution_timeout_ms()));
+ action_max_timeout_ms()));
ASSERT_TRUE(automation()->GetShowingAppModalDialog(&modal_dialog_showing,
&available_buttons));
ASSERT_TRUE(modal_dialog_showing);