Remove Profile->GetExtensionProcessManager calls; replace with PKSF calls through the ExtensionSystem. Extension services were made into ProfileKeyedServices a while ago; this replaces all the deprecated calls that ran directly through the Profile object.
BUG=104095
Review URL: https://chromiumcodereview.appspot.com/11246003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163846 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/extensions/extension_crash_recovery_browsertest.cc b/chrome/browser/extensions/extension_crash_recovery_browsertest.cc
index deccdd2..eb141b6 100644
--- a/chrome/browser/extensions/extension_crash_recovery_browsertest.cc
+++ b/chrome/browser/extensions/extension_crash_recovery_browsertest.cc
@@ -8,6 +8,7 @@
#include "chrome/browser/extensions/extension_host.h"
#include "chrome/browser/extensions/extension_process_manager.h"
#include "chrome/browser/extensions/extension_service.h"
+#include "chrome/browser/extensions/extension_system.h"
#include "chrome/browser/notifications/balloon.h"
#include "chrome/browser/notifications/balloon_collection.h"
#include "chrome/browser/notifications/balloon_host.h"
@@ -38,7 +39,8 @@
}
ExtensionProcessManager* GetExtensionProcessManager() {
- return browser()->profile()->GetExtensionProcessManager();
+ return extensions::ExtensionSystem::Get(browser()->profile())->
+ process_manager();
}
Balloon* GetNotificationDelegate(size_t index) {