| Index: chrome/browser/extensions/extension_ui_util.cc
|
| diff --git a/chrome/browser/extensions/extension_ui_util.cc b/chrome/browser/extensions/extension_ui_util.cc
|
| index ab8c5ac0a717f94934042b769f01546b40264cef..a72f56a77e34be491501ea67bebb6bcefca3578e 100644
|
| --- a/chrome/browser/extensions/extension_ui_util.cc
|
| +++ b/chrome/browser/extensions/extension_ui_util.cc
|
| @@ -30,9 +30,15 @@ namespace ui_util {
|
|
|
| bool ShouldDisplayInAppLauncher(const Extension* extension,
|
| content::BrowserContext* context) {
|
| + return ShouldDisplayInAppLauncherIgnoreEphemeral(extension, context) &&
|
| + !util::IsEphemeralApp(extension->id(), context);
|
| +}
|
| +
|
| +bool ShouldDisplayInAppLauncherIgnoreEphemeral(
|
| + const Extension* extension,
|
| + content::BrowserContext* context) {
|
| return extension->ShouldDisplayInAppLauncher() &&
|
| - !IsBlockedByPolicy(extension, context) &&
|
| - !util::IsEphemeralApp(extension->id(), context);
|
| + !IsBlockedByPolicy(extension, context);
|
| }
|
|
|
| bool ShouldDisplayInNewTabPage(const Extension* extension,
|
|
|