Lines Matching refs:extension
13 #include "extensions/common/extension.h"
32 bool ShouldDisplayInAppLauncher(const Extension* extension,
34 return CanDisplayInAppLauncher(extension, context) &&
35 !util::IsEphemeralApp(extension->id(), context);
38 bool CanDisplayInAppLauncher(const Extension* extension,
40 return extension->ShouldDisplayInAppLauncher() &&
41 !IsBlockedByPolicy(extension, context);
44 bool ShouldDisplayInNewTabPage(const Extension* extension,
46 return extension->ShouldDisplayInNewTabPage() &&
47 !IsBlockedByPolicy(extension, context) &&
48 !util::IsEphemeralApp(extension->id(), context);
51 bool ShouldDisplayInExtensionSettings(const Extension* extension,
53 return extension->ShouldDisplayInExtensionSettings() &&
54 !util::IsEphemeralApp(extension->id(), context);
57 bool ShouldNotBeVisible(const Extension* extension,
59 return extension->ShouldNotBeVisible() ||
60 util::IsEphemeralApp(extension->id(), context);