chromium/chrome/browser/sharing_hub/sharing_hub_features.cc

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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 {

// Whether the sharing hub feature should be disabled by policy.
bool SharingHubDisabledByPolicy(content::BrowserContext* context) {}

// Whether screenshots-related features should be disabled by policy.
// Currently used by desktop.
// TODO(crbug.com/40798792): possibly apply to Android features.
bool ScreenshotsDisabledByPolicy(content::BrowserContext* context) {}

}  // namespace

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

}  // namespace sharing_hub