Chromium Code Reviews| Index: chrome/browser/extensions/extension_ui_util.h |
| diff --git a/chrome/browser/extensions/extension_ui_util.h b/chrome/browser/extensions/extension_ui_util.h |
| index f9add929e6359ced7a8a214a3fb45eede5389f59..09e9a6374342ad0ee620680e25301aa40e8a1c4b 100644 |
| --- a/chrome/browser/extensions/extension_ui_util.h |
| +++ b/chrome/browser/extensions/extension_ui_util.h |
| @@ -21,6 +21,13 @@ namespace ui_util { |
| bool ShouldDisplayInAppLauncher(const Extension* extension, |
| content::BrowserContext* context); |
| +// Returns true if the extension should be displayed in the app launcher. |
| +// Checks whether the extension should be hidden due to policy, but does not |
| +// exclude ephemeral apps. |
| +bool ShouldDisplayInAppLauncherIncludingEphemeral( |
|
benwells
2014/06/05 09:27:43
This needs a better name. How about CanDisplayInAp
tmdiep
2014/06/06 02:49:55
Done.
|
| + const Extension* extension, |
| + content::BrowserContext* context); |
| + |
| // Returns true if the extension should be displayed in the browser NTP. |
| // Checks whether the extension is an ephemeral app or should be hidden due to |
| // policy. |