| Index: chrome/browser/ui/browser_list.cc
|
| ===================================================================
|
| --- chrome/browser/ui/browser_list.cc (revision 91771)
|
| +++ chrome/browser/ui/browser_list.cc (working copy)
|
| @@ -15,6 +15,7 @@
|
| #include "chrome/browser/profiles/profile_manager.h"
|
| #include "chrome/browser/ui/browser_window.h"
|
| #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
|
| +#include "chrome/common/chrome_notification_types.h"
|
| #include "chrome/common/pref_names.h"
|
| #include "content/browser/renderer_host/render_process_host.h"
|
| #include "content/browser/tab_contents/navigation_details.h"
|
| @@ -242,7 +243,7 @@
|
| activity_observer = new BrowserActivityObserver;
|
|
|
| NotificationService::current()->Notify(
|
| - NotificationType::BROWSER_OPENED,
|
| + chrome::BROWSER_OPENED,
|
| Source<Browser>(browser),
|
| NotificationService::NoDetails());
|
|
|
| @@ -319,7 +320,7 @@
|
| // TODO(andybons): Fix the UI tests to Do The Right Thing.
|
| bool closing_last_browser = (browsers_.size() == 1);
|
| NotificationService::current()->Notify(
|
| - NotificationType::BROWSER_CLOSED,
|
| + chrome::BROWSER_CLOSED,
|
| Source<Browser>(browser), Details<bool>(&closing_last_browser));
|
|
|
| RemoveBrowserFrom(browser, &browsers_);
|
| @@ -511,7 +512,7 @@
|
| // Send out notification. This is used during testing so that the test harness
|
| // can properly shutdown before we exit.
|
| NotificationService::current()->Notify(
|
| - NotificationType::SESSION_END,
|
| + chrome::SESSION_END,
|
| NotificationService::AllSources(),
|
| NotificationService::NoDetails());
|
|
|
|
|