| Index: chrome/browser/extensions/chrome_notification_observer.cc
|
| diff --git a/chrome/browser/extensions/chrome_notification_observer.cc b/chrome/browser/extensions/chrome_notification_observer.cc
|
| index 9327e52351ea9559eb3617c7fb6037c8b3866c33..af7f796069c88af9485464c7e1cdade95d0f1834 100644
|
| --- a/chrome/browser/extensions/chrome_notification_observer.cc
|
| +++ b/chrome/browser/extensions/chrome_notification_observer.cc
|
| @@ -6,16 +6,16 @@
|
|
|
| #include "base/logging.h"
|
| #include "chrome/browser/chrome_notification_types.h"
|
| -#include "chrome/browser/extensions/extension_process_manager.h"
|
| #include "chrome/browser/extensions/extension_system.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/ui/browser.h"
|
| #include "content/public/browser/notification_service.h"
|
| +#include "extensions/browser/process_manager.h"
|
|
|
| namespace extensions {
|
|
|
| ChromeNotificationObserver::ChromeNotificationObserver() {
|
| - // Notifications for ExtensionProcessManager
|
| + // Notifications for extensions::ProcessManager
|
| registrar_.Add(this, chrome::NOTIFICATION_BROWSER_WINDOW_READY,
|
| content::NotificationService::AllSources());
|
| }
|
| @@ -29,7 +29,7 @@ void ChromeNotificationObserver::OnBrowserWindowReady(Browser* browser) {
|
| // Inform the process manager for this profile that the window is ready.
|
| // We continue to observe the notification in case browser windows open for
|
| // a related incognito profile or other regular profiles.
|
| - ExtensionProcessManager* manager =
|
| + extensions::ProcessManager* manager =
|
| ExtensionSystem::Get(profile)->process_manager();
|
| if (!manager) // Tests may not have a process manager.
|
| return;
|
| @@ -42,7 +42,7 @@ void ChromeNotificationObserver::OnBrowserWindowReady(Browser* browser) {
|
| // non-incognito window opened.
|
| if (profile->IsOffTheRecord()) {
|
| Profile* original_profile = profile->GetOriginalProfile();
|
| - ExtensionProcessManager* original_manager =
|
| + extensions::ProcessManager* original_manager =
|
| ExtensionSystem::Get(original_profile)->process_manager();
|
| DCHECK(original_manager);
|
| DCHECK_EQ(original_profile, original_manager->GetBrowserContext());
|
|
|