| Index: chrome/browser/sessions/session_restore_browsertest.cc
|
| ===================================================================
|
| --- chrome/browser/sessions/session_restore_browsertest.cc (revision 106380)
|
| +++ chrome/browser/sessions/session_restore_browsertest.cc (working copy)
|
| @@ -14,6 +14,7 @@
|
| #include "chrome/test/base/in_process_browser_test.h"
|
| #include "chrome/test/base/ui_test_utils.h"
|
| #include "content/browser/tab_contents/tab_contents.h"
|
| +#include "content/public/browser/notification_service.h"
|
| #include "content/public/browser/notification_types.h"
|
| #include "content/public/common/page_transition_types.h"
|
|
|
| @@ -124,13 +125,15 @@
|
| ui_test_utils::NavigateToURL(browser(), url1);
|
| {
|
| ui_test_utils::WindowedNotificationObserver observer(
|
| - content::NOTIFICATION_LOAD_STOP, NotificationService::AllSources());
|
| + content::NOTIFICATION_LOAD_STOP,
|
| + content::NotificationService::AllSources());
|
| browser()->AddSelectedTabWithURL(url2, content::PAGE_TRANSITION_LINK);
|
| observer.Wait();
|
| }
|
| {
|
| ui_test_utils::WindowedNotificationObserver observer(
|
| - content::NOTIFICATION_LOAD_STOP, NotificationService::AllSources());
|
| + content::NOTIFICATION_LOAD_STOP,
|
| + content::NotificationService::AllSources());
|
| browser()->AddSelectedTabWithURL(url3, content::PAGE_TRANSITION_LINK);
|
| observer.Wait();
|
| }
|
|
|