| Index: chrome/browser/extensions/component_loader.h
|
| diff --git a/chrome/browser/extensions/component_loader.h b/chrome/browser/extensions/component_loader.h
|
| index 3583d13a8f5f9a3a2c05b4b73d44c45057bf96a4..6bfa368c2429416cc7189f9f81216750ec6523c2 100644
|
| --- a/chrome/browser/extensions/component_loader.h
|
| +++ b/chrome/browser/extensions/component_loader.h
|
| @@ -49,6 +49,9 @@ class ComponentLoader : public content::NotificationObserver {
|
| // extension with the same ID.
|
| const Extension* AddOrReplace(const FilePath& path);
|
|
|
| + // Returns true if an extension with the specified id has been added.
|
| + bool Exists(const std::string& id) const;
|
| +
|
| // Unloads a component extension and removes it from the list of component
|
| // extensions to be loaded.
|
| void Remove(const FilePath& root_directory);
|
| @@ -78,6 +81,9 @@ class ComponentLoader : public content::NotificationObserver {
|
| // Clear the list of registered extensions.
|
| void ClearAllRegistered();
|
|
|
| + // Reloads a registered component extension.
|
| + void Reload(const std::string& extension_id);
|
| +
|
| private:
|
| // Information about a registered component extension.
|
| struct ComponentExtensionInfo {
|
| @@ -105,9 +111,6 @@ class ComponentLoader : public content::NotificationObserver {
|
| // Add the enterprise webstore extension, or reload it if already loaded.
|
| void AddOrReloadEnterpriseWebStore();
|
|
|
| - // Returns true if an extension with the specified id has been added.
|
| - bool Exists(const std::string& id) const;
|
| -
|
| // Determine the extension id.
|
| static std::string GenerateId(const base::DictionaryValue* manifest);
|
|
|
|
|