| Index: extensions/browser/lazy_background_task_queue.cc
|
| diff --git a/extensions/browser/lazy_background_task_queue.cc b/extensions/browser/lazy_background_task_queue.cc
|
| index a7b0066b0df5eb3750d80ad2d87304fb0c30cad7..28880ccce26445fc85eda9987ed484ed5bf0f9af 100644
|
| --- a/extensions/browser/lazy_background_task_queue.cc
|
| +++ b/extensions/browser/lazy_background_task_queue.cc
|
| @@ -7,7 +7,6 @@
|
| #include "base/callback.h"
|
| #include "chrome/browser/chrome_notification_types.h"
|
| #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/extensions/process_map.h"
|
| @@ -20,6 +19,7 @@
|
| #include "content/public/browser/site_instance.h"
|
| #include "content/public/browser/web_contents.h"
|
| #include "extensions/browser/extensions_browser_client.h"
|
| +#include "extensions/browser/process_manager.h"
|
| #include "extensions/common/manifest_handlers/background_info.h"
|
| #include "extensions/common/view_type.h"
|
|
|
| @@ -44,7 +44,7 @@ bool LazyBackgroundTaskQueue::ShouldEnqueueTask(
|
| const Extension* extension) {
|
| DCHECK(extension);
|
| if (BackgroundInfo::HasBackgroundPage(extension)) {
|
| - ExtensionProcessManager* pm = ExtensionSystem::GetForBrowserContext(
|
| + ProcessManager* pm = ExtensionSystem::GetForBrowserContext(
|
| browser_context)->process_manager();
|
| DCHECK(pm);
|
| ExtensionHost* background_host =
|
| @@ -81,7 +81,7 @@ void LazyBackgroundTaskQueue::AddPendingTask(
|
| if (extension && BackgroundInfo::HasLazyBackgroundPage(extension)) {
|
| // If this is the first enqueued task, and we're not waiting for the
|
| // background page to unload, ensure the background page is loaded.
|
| - ExtensionProcessManager* pm = ExtensionSystem::GetForBrowserContext(
|
| + ProcessManager* pm = ExtensionSystem::GetForBrowserContext(
|
| browser_context)->process_manager();
|
| pm->IncrementLazyKeepaliveCount(extension);
|
| // Creating the background host may fail, e.g. if |profile| is incognito
|
|
|