| Index: chrome/browser/extensions/extension_system_impl.h
|
| diff --git a/chrome/browser/extensions/extension_system_impl.h b/chrome/browser/extensions/extension_system_impl.h
|
| index 5cd96a310ff1c93fcefe1abbea79f166005cdf8e..aa0276130be725492f7c4e07ea5843d15abaf741 100644
|
| --- a/chrome/browser/extensions/extension_system_impl.h
|
| +++ b/chrome/browser/extensions/extension_system_impl.h
|
| @@ -15,6 +15,10 @@
|
| class Profile;
|
| class ValueStore;
|
|
|
| +namespace content {
|
| +class ResourceContext;
|
| +}
|
| +
|
| namespace extensions {
|
|
|
| class ExtensionSystemSharedFactory;
|
| @@ -70,6 +74,20 @@ class ExtensionSystemImpl : public ExtensionSystem {
|
| private:
|
| friend class ExtensionSystemSharedFactory;
|
|
|
| + // Helper functions to register and unregister extensions. These are invoked
|
| + // on the IO thread.
|
| + static void RegisterExtensionHelper(InfoMap* info_map,
|
| + const Extension* extension,
|
| + base::Time install_time,
|
| + bool incognito_enabled,
|
| + bool notifications_disabled,
|
| + const content::ResourceContext* context);
|
| + static void UnregisterExtensionHelper(
|
| + InfoMap* info_map,
|
| + const std::string& extension_id,
|
| + const UnloadedExtensionInfo::Reason reason,
|
| + const content::ResourceContext* context);
|
| +
|
| // Owns the Extension-related systems that have a single instance
|
| // shared between normal and incognito profiles.
|
| class Shared : public KeyedService {
|
|
|