chromium/chrome/browser/enterprise/data_controls/chrome_rules_service.cc

// Copyright 2023 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/enterprise/data_controls/chrome_rules_service.h"

#include "base/memory/ptr_util.h"
#include "base/no_destructor.h"
#include "chrome/browser/profiles/profile.h"
#include "components/enterprise/data_controls/core/browser/features.h"
#include "components/enterprise/data_controls/core/browser/prefs.h"
#include "components/prefs/pref_service.h"

namespace data_controls {

// ---------------------------------
// ChromeRulesService implementation
// ---------------------------------

ChromeRulesService::ChromeRulesService(content::BrowserContext* browser_context)
    :{}

ChromeRulesService::~ChromeRulesService() = default;

Verdict ChromeRulesService::GetPrintVerdict(
    const GURL& printed_page_url) const {}

Verdict ChromeRulesService::GetPasteVerdict(
    const content::ClipboardEndpoint& source,
    const content::ClipboardEndpoint& destination,
    const content::ClipboardMetadata& metadata) const {}

Verdict ChromeRulesService::GetCopyRestrictedBySourceVerdict(
    const GURL& source) const {}

Verdict ChromeRulesService::GetCopyToOSClipboardVerdict(
    const GURL& source) const {}

bool ChromeRulesService::BlockScreenshots(const GURL& url) const {}

ActionSource ChromeRulesService::GetAsActionSource(
    const content::ClipboardEndpoint& endpoint) const {}

ActionDestination ChromeRulesService::GetAsActionDestination(
    const content::ClipboardEndpoint& endpoint) const {}

template <typename ActionSourceOrDestination>
ActionSourceOrDestination ChromeRulesService::ExtractPasteActionContext(
    const content::ClipboardEndpoint& endpoint) const {}

// ----------------------------------------
// ChromeRulesServiceFactory implementation
// ----------------------------------------

RulesService* ChromeRulesServiceFactory::GetForBrowserContext(
    content::BrowserContext* context) {}

// static
ChromeRulesServiceFactory* ChromeRulesServiceFactory::GetInstance() {}

ChromeRulesServiceFactory::ChromeRulesServiceFactory()
    :{}

ChromeRulesServiceFactory::~ChromeRulesServiceFactory() = default;

std::unique_ptr<KeyedService>
ChromeRulesServiceFactory::BuildServiceInstanceForBrowserContext(
    content::BrowserContext* context) const {}

}  // namespace data_controls