summaryrefslogtreecommitdiffstats
path: root/chrome/browser/notifications
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-08 22:04:40 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-08 22:04:40 +0000
commite04c7eacaa5092fa740c5ac330f4b8f01755fc2d (patch)
tree1cfd82a2b49c98aa26ab83767f821726ed8ad687 /chrome/browser/notifications
parenta233a64c05fa151f0a9d1eff6839962d23d82b17 (diff)
downloadchromium_src-e04c7eacaa5092fa740c5ac330f4b8f01755fc2d.zip
chromium_src-e04c7eacaa5092fa740c5ac330f4b8f01755fc2d.tar.gz
chromium_src-e04c7eacaa5092fa740c5ac330f4b8f01755fc2d.tar.bz2
GTTF: Make WaitForInfoBarCount not Sleep.
Use an observer instead, to wait more reliably. BUG=none TEST=none Review URL: http://codereview.chromium.org/3344006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58880 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/notifications')
-rw-r--r--chrome/browser/notifications/notifications_interactive_uitest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/notifications/notifications_interactive_uitest.cc b/chrome/browser/notifications/notifications_interactive_uitest.cc
index 97bb1e2..afd44d7 100644
--- a/chrome/browser/notifications/notifications_interactive_uitest.cc
+++ b/chrome/browser/notifications/notifications_interactive_uitest.cc
@@ -40,7 +40,7 @@ TEST_F(NotificationsPermissionTest, TestUserGestureInfobar) {
&result));
EXPECT_TRUE(result);
- EXPECT_TRUE(tab->WaitForInfoBarCount(1, action_max_timeout_ms()));
+ EXPECT_TRUE(tab->WaitForInfoBarCount(1));
}
TEST_F(NotificationsPermissionTest, TestNoUserGestureInfobar) {