#include "chrome/browser/extensions/extension_ui_util.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/extensions/extension_constants.h"
#include "components/policy/core/common/policy_pref_names.h"
#include "components/prefs/pref_service.h"
#include "extensions/browser/extension_registry.h"
#include "extensions/browser/extension_util.h"
#include "extensions/common/constants.h"
#include "extensions/common/extension.h"
#include "extensions/common/image_util.h"
#include "extensions/common/manifest_handlers/app_display_info.h"
namespace extensions {
namespace {
bool IsBlockedByPolicy(const Extension* app, content::BrowserContext* context) { … }
}
namespace ui_util {
bool ShouldDisplayInAppLauncher(const Extension* extension,
content::BrowserContext* context) { … }
bool CanDisplayInAppLauncher(const Extension* extension,
content::BrowserContext* context) { … }
bool ShouldDisplayInNewTabPage(const Extension* extension,
content::BrowserContext* context) { … }
std::u16string GetEnabledExtensionNameForUrl(const GURL& url,
content::BrowserContext* context) { … }
}
}