Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(229)

Unified Diff: chrome/browser/extensions/chrome_notification_observer.cc

Issue 67253003: Reland: Move ExtensionProcessManager to src/extensions, part 4 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase process_manager Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/extensions/browsertest_util.cc ('k') | chrome/browser/extensions/devtools_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
« no previous file with comments | « chrome/browser/extensions/browsertest_util.cc ('k') | chrome/browser/extensions/devtools_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698