summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/component_loader.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/component_loader.h')
-rw-r--r--chrome/browser/extensions/component_loader.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/extensions/component_loader.h b/chrome/browser/extensions/component_loader.h
index 3ad948a..a2a4b02 100644
--- a/chrome/browser/extensions/component_loader.h
+++ b/chrome/browser/extensions/component_loader.h
@@ -40,7 +40,7 @@ class ComponentLoader : public content::NotificationObserver {
// Registers and possibly loads a component extension. If ExtensionService
// has been initialized, the extension is loaded; otherwise, the load is
// deferred until LoadAll is called.
- const Extension* Add(std::string& manifest_contents,
+ const Extension* Add(const std::string& manifest_contents,
const FilePath& root_directory);
// Convenience method for registering a component extension by resource id.
@@ -117,6 +117,8 @@ class ComponentLoader : public content::NotificationObserver {
// Add the enterprise webstore extension, or reload it if already loaded.
void AddOrReloadEnterpriseWebStore();
+ void AddChromeApp();
+
// Determine the extension id.
static std::string GenerateId(const base::DictionaryValue* manifest);