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

Unified Diff: chrome/browser/extensions/api/extension_action/browser_action_apitest.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
Index: chrome/browser/extensions/api/extension_action/browser_action_apitest.cc
===================================================================
--- chrome/browser/extensions/api/extension_action/browser_action_apitest.cc (revision 147577)
+++ chrome/browser/extensions/api/extension_action/browser_action_apitest.cc (working copy)
@@ -42,7 +42,7 @@
bool OpenPopup(int index) {
ResultCatcher catcher;
- ui_test_utils::WindowedNotificationObserver popup_observer(
+ content::WindowedNotificationObserver popup_observer(
content::NOTIFICATION_LOAD_COMPLETED_MAIN_FRAME,
content::NotificationService::AllSources());
GetBrowserActionsBar().Press(index);
@@ -399,7 +399,7 @@
ExtensionAction* action = extension->browser_action();
ASSERT_EQ("", action->GetBadgeText(ExtensionAction::kDefaultTabId));
- ui_test_utils::WindowedNotificationObserver host_destroyed_observer(
+ content::WindowedNotificationObserver host_destroyed_observer(
chrome::NOTIFICATION_EXTENSION_HOST_DESTROYED,
content::NotificationService::AllSources());
« no previous file with comments | « chrome/browser/download/save_page_browsertest.cc ('k') | chrome/browser/extensions/api/omnibox/omnibox_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698