Index: chrome/browser/ui/settings_window_manager_browsertest.cc |
diff --git a/chrome/browser/ui/settings_window_manager_browsertest.cc b/chrome/browser/ui/settings_window_manager_browsertest.cc |
index a551457c76738a1fb4f2d61132807cfb34aa972e..6491ae22bf305e5a6f3726b41128dec75abb0dc4 100644 |
--- a/chrome/browser/ui/settings_window_manager_browsertest.cc |
+++ b/chrome/browser/ui/settings_window_manager_browsertest.cc |
@@ -8,7 +8,6 @@ |
#include "base/files/file_util.h" |
#include "base/files/scoped_temp_dir.h" |
#include "chrome/browser/browser_process.h" |
-#include "chrome/browser/chrome_notification_types.h" |
#include "chrome/browser/profiles/profile_manager.h" |
#include "chrome/browser/ui/browser.h" |
#include "chrome/browser/ui/browser_finder.h" |
@@ -95,14 +94,6 @@ class SettingsWindowManagerTest : public InProcessBrowserTest { |
profile, GURL(chrome::kChromeUISettingsURL)); |
} |
- void CloseBrowserSynchronously(Browser* browser) { |
- content::WindowedNotificationObserver observer( |
- chrome::NOTIFICATION_BROWSER_CLOSED, |
- content::NotificationService::AllSources()); |
- browser->window()->Close(); |
- observer.Wait(); |
- } |
- |
void CloseNonDefaultBrowsers() { |
std::list<Browser*> browsers_to_close; |
for (chrome::BrowserIterator it; !it.done(); it.Next()) { |