diff options
author | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-12 20:53:24 +0000 |
---|---|---|
committer | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-12 20:53:24 +0000 |
commit | 62e366e84791c5ab98ad19e5508918551d00b234 (patch) | |
tree | 66ce7c3c66931766ddd15aa8532da681ea4bf5e6 /chrome/test/ui_test_utils.cc | |
parent | 502415277b63821cc18422e177b73de41985bec6 (diff) | |
download | chromium_src-62e366e84791c5ab98ad19e5508918551d00b234.zip chromium_src-62e366e84791c5ab98ad19e5508918551d00b234.tar.gz chromium_src-62e366e84791c5ab98ad19e5508918551d00b234.tar.bz2 |
Remove the feed sniffing testing part of the RSS extension.
I suspect it is the cause of the flakiness.
BUG=37109
TEST=Watch the bots to see if it is still flaky.
Review URL: http://codereview.chromium.org/870008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41478 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/ui_test_utils.cc')
-rw-r--r-- | chrome/test/ui_test_utils.cc | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/chrome/test/ui_test_utils.cc b/chrome/test/ui_test_utils.cc index 4ea680f..285624f 100644 --- a/chrome/test/ui_test_utils.cc +++ b/chrome/test/ui_test_utils.cc @@ -260,26 +260,6 @@ class SimpleNotificationObserver : public NotificationObserver { DISALLOW_COPY_AND_ASSIGN(SimpleNotificationObserver); }; -class TabParentedNotificationObserver : public NotificationObserver { - public: - TabParentedNotificationObserver() { - registrar_.Add(this, NotificationType::TAB_PARENTED, - NotificationService::AllSources()); - ui_test_utils::RunMessageLoop(); - } - - virtual void Observe(NotificationType type, - const NotificationSource& source, - const NotificationDetails& details) { - MessageLoopForUI::current()->Quit(); - } - - private: - NotificationRegistrar registrar_; - - DISALLOW_COPY_AND_ASSIGN(TabParentedNotificationObserver); -}; - class LanguageDetectionNotificationObserver : public NotificationObserver { public: explicit LanguageDetectionNotificationObserver(TabContents* tab) { @@ -416,10 +396,6 @@ void WaitForNewTab(Browser* browser) { new_tab_observer(NotificationType::TAB_ADDED, browser); } -void WaitForTabParented() { - TabParentedNotificationObserver new_tab_observer; -} - void WaitForBrowserActionUpdated(ExtensionAction* browser_action) { SimpleNotificationObserver<ExtensionAction> observer(NotificationType::EXTENSION_BROWSER_ACTION_UPDATED, |