Lines Matching full:extension
11 void GetExtensionNameAndId(const Extension* extension,
14 // The extension may be NULL in testing.
15 *id = extension ? extension->id() : "[test]";
16 *name = extension ? extension->name() : "test";
27 bool ManagementPolicy::Provider::UserMayLoad(const Extension* extension,
33 const Extension* extension, string16* error) const {
37 bool ManagementPolicy::Provider::MustRemainEnabled(const Extension* extension,
43 const Extension* extension,
44 Extension::DisableReason* reason,
57 bool ManagementPolicy::UserMayLoad(const Extension* extension,
60 true, extension, error);
63 bool ManagementPolicy::UserMayModifySettings(const Extension* extension,
66 true, extension, error);
69 bool ManagementPolicy::MustRemainEnabled(const Extension* extension,
72 false, extension, error);
75 bool ManagementPolicy::MustRemainDisabled(const Extension* extension,
76 Extension::DisableReason* reason,
80 if ((*it)->MustRemainDisabled(extension, reason, error))
97 const Extension* extension,
102 bool result = (provider->*function)(extension, error);
106 GetExtensionNameAndId(extension, &name, &id);
107 DVLOG(1) << debug_operation_name << " of extension " << name