| Index: chrome/test/base/ui_test_utils.cc
|
| diff --git a/chrome/test/base/ui_test_utils.cc b/chrome/test/base/ui_test_utils.cc
|
| index e91d3551e364536edc7853f6c8f97b7ccb58cc2b..7bb1acb170975d4b042f8f36d8d664c0a83c7d50 100644
|
| --- a/chrome/test/base/ui_test_utils.cc
|
| +++ b/chrome/test/base/ui_test_utils.cc
|
| @@ -342,7 +342,7 @@ void WaitForNavigations(NavigationController* controller,
|
|
|
| void WaitForNewTab(Browser* browser) {
|
| TestNotificationObserver observer;
|
| - RegisterAndWait(&observer, content::NOTIFICATION_TAB_ADDED,
|
| + RegisterAndWait(&observer, chrome::NOTIFICATION_TAB_ADDED,
|
| content::Source<content::WebContentsDelegate>(browser));
|
| }
|
|
|
| @@ -433,7 +433,7 @@ static void NavigateToURLWithDispositionBlockUntilNavigationsComplete(
|
| }
|
|
|
| WindowedNotificationObserver tab_added_observer(
|
| - content::NOTIFICATION_TAB_ADDED,
|
| + chrome::NOTIFICATION_TAB_ADDED,
|
| content::NotificationService::AllSources());
|
|
|
| WindowedNotificationObserver auth_observer(
|
| @@ -974,6 +974,11 @@ void WindowedNotificationObserver::Observe(
|
| }
|
| }
|
|
|
| +WindowedTabAddedNotificationObserver::WindowedTabAddedNotificationObserver(
|
| + const content::NotificationSource& source)
|
| + : WindowedNotificationObserver(chrome::NOTIFICATION_TAB_ADDED, source) {
|
| +}
|
| +
|
| TitleWatcher::TitleWatcher(WebContents* web_contents,
|
| const string16& expected_title)
|
| : web_contents_(web_contents),
|
|
|