summaryrefslogtreecommitdiffstats
path: root/chrome/test/ui_test_utils.cc
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-17 09:36:11 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-17 09:36:11 +0000
commit57af2bf65a7b7ece04cc74d5419bc9d703bfbd03 (patch)
tree4207bc3bc902a082c94ffe5fb254c3de63f2b2a4 /chrome/test/ui_test_utils.cc
parent9f707efe660ffca94893bfc34a8ea60f7e9a7a31 (diff)
downloadchromium_src-57af2bf65a7b7ece04cc74d5419bc9d703bfbd03.zip
chromium_src-57af2bf65a7b7ece04cc74d5419bc9d703bfbd03.tar.gz
chromium_src-57af2bf65a7b7ece04cc74d5419bc9d703bfbd03.tar.bz2
[GTTF] Remove the internal timeout of extension browser tests.
Now we have a global timeout for browser tests enforced by out of process test launcher. Having too many different timeouts all over the place makes debugging issues harder. TEST=browser_tests BUG=none Review URL: http://codereview.chromium.org/1046001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41823 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/ui_test_utils.cc')
-rw-r--r--chrome/test/ui_test_utils.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/chrome/test/ui_test_utils.cc b/chrome/test/ui_test_utils.cc
index b2b2258..c93ec1c 100644
--- a/chrome/test/ui_test_utils.cc
+++ b/chrome/test/ui_test_utils.cc
@@ -544,12 +544,9 @@ int FindInPage(TabContents* tab_contents, const string16& search_string,
}
void RegisterAndWait(NotificationType::Type type,
- NotificationObserver* observer,
- int64 timeout_ms) {
+ NotificationObserver* observer) {
NotificationRegistrar registrar;
registrar.Add(observer, type, NotificationService::AllSources());
- MessageLoop::current()->PostDelayedTask(
- FROM_HERE, new MessageLoop::QuitTask, timeout_ms);
RunMessageLoop();
}