Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / extensions / external_component_loader.h
index 0312d5b..a4c65f7 100644 (file)
@@ -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;