Index: chrome/browser/chromeos/tab_closeable_state_watcher_browsertest.cc |
=================================================================== |
--- chrome/browser/chromeos/tab_closeable_state_watcher_browsertest.cc (revision 106380) |
+++ chrome/browser/chromeos/tab_closeable_state_watcher_browsertest.cc (working copy) |
@@ -16,6 +16,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 "googleurl/src/gurl.h" |
#include "testing/gmock/include/gmock/gmock.h" |
@@ -39,7 +40,8 @@ |
// Wrapper for Browser::AddTabWithURL |
void AddTabWithURL(Browser* browser, const GURL& url) { |
ui_test_utils::WindowedNotificationObserver observer( |
- content::NOTIFICATION_LOAD_STOP, NotificationService::AllSources()); |
+ content::NOTIFICATION_LOAD_STOP, |
+ content::NotificationService::AllSources()); |
AddTabAtIndexToBrowser(browser, 0, url, content::PAGE_TRANSITION_TYPED); |
observer.Wait(); |
} |