Index: chrome/browser/extensions/external_component_loader.h |
diff --git a/chrome/browser/extensions/external_component_loader.h b/chrome/browser/extensions/external_component_loader.h |
index 0312d5b42c43adb027f1af0e3bb9c910c7f24682..a4c65f70643cfd3a99671a1456662f58b7fa23ba 100644 |
--- a/chrome/browser/extensions/external_component_loader.h |
+++ b/chrome/browser/extensions/external_component_loader.h |
@@ -13,6 +13,8 @@ |
namespace extensions { |
+class Extension; |
+ |
// A specialization of the ExternalLoader that loads a hard-coded list of |
// external extensions, that should be considered components of chrome (but |
// unlike Component extensions, these extensions are installed from the webstore |
@@ -23,6 +25,9 @@ class ExternalComponentLoader : public ExternalLoader { |
public: |
explicit ExternalComponentLoader(Profile* profile); |
+ // True if |extension| should be modifiable by the user. |
+ static bool IsModifiable(const extensions::Extension* extension); |
+ |
protected: |
virtual void StartLoading() OVERRIDE; |