#include "chrome/browser/sharing_hub/sharing_hub_features.h"
#include "build/build_config.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/pref_names.h"
#include "components/prefs/pref_registry_simple.h"
#include "components/prefs/pref_service.h"
#include "content/public/browser/browser_context.h"
namespace sharing_hub {
namespace {
bool SharingHubDisabledByPolicy(content::BrowserContext* context) { … }
bool ScreenshotsDisabledByPolicy(content::BrowserContext* context) { … }
}
bool SharingHubOmniboxEnabled(content::BrowserContext* context) { … }
bool DesktopScreenshotsFeatureEnabled(content::BrowserContext* context) { … }
bool SharingIsDisabledByPolicy(content::BrowserContext* context) { … }
bool HasPageAction(content::BrowserContext* context, bool is_popup_mode) { … }
BASE_FEATURE(…);
#if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_CHROMEOS)
void RegisterProfilePrefs(PrefRegistrySimple* registry) { … }
#endif
}