Lines Matching full:extension
12 #include "extensions/common/extension.h"
19 // action. (That is, installing or otherwise modifying an extension in order
29 // whether one individual extension or the whole system, should implement
52 // Providers should return false if a user may not install the |extension|,
54 virtual bool UserMayLoad(const Extension* extension,
58 // uninstall the |extension|, or change its usage options (incognito
60 virtual bool UserMayModifySettings(const Extension* extension,
63 // Providers should return true if the |extension| must always remain
65 // also prohibits enabling the extension if it is currently disabled.
67 // above, if they wish to completely lock in an extension.
68 virtual bool MustRemainEnabled(const Extension* extension,
71 // Similar to MustRemainEnabled, but for whether an extension must remain
73 virtual bool MustRemainDisabled(const Extension* extension,
74 Extension::DisableReason* reason,
91 // extension. If not, |error| may be set to an appropriate message.
92 bool UserMayLoad(const Extension* extension, string16* error) const;
95 // given extension, or change the extension's usage options (incognito mode,
97 bool UserMayModifySettings(const Extension* extension,
100 // Returns true if the extension must remain enabled at all times (e.g. a
101 // compoment extension). In that case, |error| may be set to an appropriate
103 bool MustRemainEnabled(const Extension* extension,
108 bool MustRemainDisabled(const Extension* extension,
109 Extension::DisableReason* reason,
119 typedef bool (Provider::*ProviderFunction)(const Extension*, string16*) const;
131 const Extension* extension,