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 --- chrome/chrome_browser_extensions.gypi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/chrome_browser_extensions.gypi') diff --git a/chrome/chrome_browser_extensions.gypi b/chrome/chrome_browser_extensions.gypi index 36a3e6a..5303ad0 100644 --- a/chrome/chrome_browser_extensions.gypi +++ b/chrome/chrome_browser_extensions.gypi @@ -631,6 +631,8 @@ 'browser/extensions/bundle_installer.h', 'browser/extensions/chrome_extension_function.cc', 'browser/extensions/chrome_extension_function.h', + 'browser/extensions/chrome_extensions_browser_client.cc', + 'browser/extensions/chrome_extensions_browser_client.h', 'browser/extensions/component_loader.cc', 'browser/extensions/component_loader.h', 'browser/extensions/context_menu_matcher.cc', @@ -805,8 +807,6 @@ 'browser/extensions/install_tracker.h', 'browser/extensions/install_tracker_factory.cc', 'browser/extensions/install_tracker_factory.h', - 'browser/extensions/lazy_background_task_queue.cc', - 'browser/extensions/lazy_background_task_queue.h', 'browser/extensions/location_bar_controller.h', 'browser/extensions/management_policy.cc', 'browser/extensions/management_policy.h', -- cgit v1.1