summaryrefslogtreecommitdiffstats
path: root/apps/launcher.cc
diff options
context:
space:
mode:
authorjamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-29 21:13:33 +0000
committerjamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-29 21:13:33 +0000
commit9fe42045f001725cb3915deb53d45fa2dfb573ed (patch)
tree1dc7600e8cb0bc2191b1518ffbd7eb2e2284c729 /apps/launcher.cc
parent36e7d5c0a1056c150ca74528cffd6d1ca30c22ad (diff)
downloadchromium_src-9fe42045f001725cb3915deb53d45fa2dfb573ed.zip
chromium_src-9fe42045f001725cb3915deb53d45fa2dfb573ed.tar.gz
chromium_src-9fe42045f001725cb3915deb53d45fa2dfb573ed.tar.bz2
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
Diffstat (limited to 'apps/launcher.cc')
-rw-r--r--apps/launcher.cc2
1 files changed, 1 insertions, 1 deletions
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"