Chromium Code Reviews| Index: chrome/browser/extensions/component_loader.h |
| diff --git a/chrome/browser/extensions/component_loader.h b/chrome/browser/extensions/component_loader.h |
| index 3ad948af3c06ad99a12bb318e9d085bc12d2d0b0..59c164e2ece1d07e6291db3d3ecf6969575e2589 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 AddChromeAppExtension(); |
|
asargent_no_longer_on_chrome
2012/06/21 22:45:08
nit: this should probably just be named AddChromeA
xiyuan
2012/06/21 23:19:44
Done.
|
| + |
| // Determine the extension id. |
| static std::string GenerateId(const base::DictionaryValue* manifest); |