Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6008)

Unified Diff: chrome/browser/infobars/infobars_browsertest.cc

Issue 10807047: Create content\public\test\test_utils.h to hold common test classes that are used by unit and brows… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/history/top_sites_unittest.cc ('k') | chrome/browser/instant/instant_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/infobars/infobars_browsertest.cc
===================================================================
--- chrome/browser/infobars/infobars_browsertest.cc (revision 147577)
+++ chrome/browser/infobars/infobars_browsertest.cc (working copy)
@@ -35,7 +35,7 @@
Profile* profile = browser()->profile();
ExtensionService* service = profile->GetExtensionService();
- ui_test_utils::WindowedNotificationObserver observer(
+ content::WindowedNotificationObserver observer(
chrome::NOTIFICATION_EXTENSION_LOADED,
content::NotificationService::AllSources());
@@ -56,7 +56,7 @@
ui_test_utils::NavigateToURL(
browser(), test_server()->GetURL("files/simple.html"));
- ui_test_utils::WindowedNotificationObserver infobar_added_1(
+ content::WindowedNotificationObserver infobar_added_1(
chrome::NOTIFICATION_TAB_CONTENTS_INFOBAR_ADDED,
content::NotificationService::AllSources());
InstallExtension("theme.crx");
@@ -65,10 +65,10 @@
ui_test_utils::NavigateToURLWithDisposition(
browser(), test_server()->GetURL("files/simple.html"),
NEW_FOREGROUND_TAB, ui_test_utils::BROWSER_TEST_WAIT_FOR_NAVIGATION);
- ui_test_utils::WindowedNotificationObserver infobar_added_2(
+ content::WindowedNotificationObserver infobar_added_2(
chrome::NOTIFICATION_TAB_CONTENTS_INFOBAR_ADDED,
content::NotificationService::AllSources());
- ui_test_utils::WindowedNotificationObserver infobar_removed_1(
+ content::WindowedNotificationObserver infobar_removed_1(
chrome::NOTIFICATION_TAB_CONTENTS_INFOBAR_REMOVED,
content::NotificationService::AllSources());
InstallExtension("theme2.crx");
@@ -78,7 +78,7 @@
chrome::GetTabContentsAt(browser(), 0)->infobar_tab_helper()->
infobar_count());
- ui_test_utils::WindowedNotificationObserver infobar_removed_2(
+ content::WindowedNotificationObserver infobar_removed_2(
chrome::NOTIFICATION_TAB_CONTENTS_INFOBAR_REMOVED,
content::NotificationService::AllSources());
ThemeServiceFactory::GetForProfile(browser()->profile())->UseDefaultTheme();
« no previous file with comments | « chrome/browser/history/top_sites_unittest.cc ('k') | chrome/browser/instant/instant_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698