diff options
author | jamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-17 18:09:08 +0000 |
---|---|---|
committer | jamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-17 18:09:08 +0000 |
commit | fafdc84997a58392bb59046730c9be6948242c2f (patch) | |
tree | 2463200804eebabc7037b3defaff70429c571c1b /chrome/browser/extensions/extension_service.h | |
parent | eb02d47797f9eefa9524975efda8f9bd3c9f1c8f (diff) | |
download | chromium_src-fafdc84997a58392bb59046730c9be6948242c2f.zip chromium_src-fafdc84997a58392bb59046730c9be6948242c2f.tar.gz chromium_src-fafdc84997a58392bb59046730c9be6948242c2f.tar.bz2 |
Convert extensions::ProcessMap to BrowserContextKeyedService
This allows us to remove more ExtensionService dependencies, which we need
to do because app_shell doesn't have an ExtensionService.
BUG=334706
TEST=existing unit_tests, browser_tests
TBR=sky@chromium.org for mechanical changes across the non-extensions bits of chrome/browser/
Review URL: https://codereview.chromium.org/139943005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245556 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_service.h')
-rw-r--r-- | chrome/browser/extensions/extension_service.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/chrome/browser/extensions/extension_service.h b/chrome/browser/extensions/extension_service.h index d6f0050..a388b98 100644 --- a/chrome/browser/extensions/extension_service.h +++ b/chrome/browser/extensions/extension_service.h @@ -30,7 +30,6 @@ #include "extensions/browser/management_policy.h" #include "extensions/browser/pending_extension_manager.h" #include "extensions/browser/process_manager.h" -#include "extensions/browser/process_map.h" #include "extensions/browser/quota_service.h" #include "extensions/common/extension.h" #include "extensions/common/extension_set.h" @@ -125,7 +124,8 @@ class ExtensionServiceInterface virtual base::SequencedTaskRunner* GetFileTaskRunner() = 0; }; -// Manages installed and running Chromium extensions. +// Manages installed and running Chromium extensions. An instance is shared +// between normal and incognito profiles. class ExtensionService : public ExtensionServiceInterface, public extensions::ExternalProviderInterface::VisitorInterface, @@ -179,8 +179,6 @@ class ExtensionService const base::FilePath& install_directory() const { return install_directory_; } - extensions::ProcessMap* process_map() { return &process_map_; } - // Updates the app launcher value for the moved extension so that it is now // located after the given predecessor and before the successor. This will // trigger a sync if needed. Empty strings are used to indicate no successor @@ -822,8 +820,6 @@ class ExtensionService // first time. bool is_first_run_; - extensions::ProcessMap process_map_; - // A set of the extension ids currently being reloaded. We use this to // avoid showing a "new install" notice for an extension reinstall. std::set<std::string> extensions_being_reloaded_; |