From 9fe42045f001725cb3915deb53d45fa2dfb573ed Mon Sep 17 00:00:00 2001 From: "jamescook@chromium.org" Date: Tue, 29 Oct 2013 21:13:33 +0000 Subject: Convert extensions::LazyBackgroundTaskQueue from Profile to BrowserContext To do this, introduce the concept of an ExtensionsBrowserClient that allows the extensions module to ask Profile-like questions of the embedder. The rest of the change is mostly mechanical. Also, introduce some conventions around profile() vs. browser_context() and GetForProfile() vs. GetForBrowserContext() so we can tell which pieces of the system have been converted. BUG=309909 TEST=browser_tests LazyBackgroundPageApiTest.* unit_tests LazyBackgroundTaskQueueTest.* Review URL: https://codereview.chromium.org/46793003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231641 0039d316-1c4b-4281-b951-d872f2087c98 --- apps/launcher.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/launcher.cc') diff --git a/apps/launcher.cc b/apps/launcher.cc index 731ff88..8e9b151 100644 --- a/apps/launcher.cc +++ b/apps/launcher.cc @@ -21,7 +21,6 @@ #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/lazy_background_task_queue.h" #include "chrome/browser/profiles/profile.h" #include "chrome/common/extensions/api/app_runtime.h" #include "chrome/common/extensions/extension.h" @@ -30,6 +29,7 @@ #include "content/public/browser/browser_thread.h" #include "content/public/browser/render_process_host.h" #include "content/public/browser/web_contents.h" +#include "extensions/browser/lazy_background_task_queue.h" #include "net/base/mime_util.h" #include "net/base/net_util.h" #include "url/gurl.h" -- cgit v1.1