chromium/chrome/browser/component_updater/afp_blocked_domain_list_component_installer.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/component_updater/afp_blocked_domain_list_component_installer.h"

#include <memory>
#include <string>
#include <utility>
#include <vector>

#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/logging.h"
#include "base/memory/ref_counted.h"
#include "base/path_service.h"
#include "base/task/thread_pool.h"
#include "base/version.h"
#include "chrome/browser/browser_process.h"
#include "chrome/common/chrome_features.h"
#include "components/component_updater/component_updater_paths.h"
#include "components/fingerprinting_protection_filter/common/fingerprinting_protection_filter_constants.h"
#include "components/fingerprinting_protection_filter/common/fingerprinting_protection_filter_features.h"
#include "components/subresource_filter/content/shared/browser/ruleset_service.h"
#include "components/subresource_filter/core/browser/subresource_filter_constants.h"

ComponentUpdateService;

namespace component_updater {

// The SHA256 of the SubjectPublicKeyInfo used to sign the component.
// The CRX ID is: kgdbnmlfakkebekbaceapiaenjgmlhan.
const uint8_t kAfpBlockedDomainListPublicKeySHA256[32] =;

const char kAfpBlockedDomainListManifestName[] =;

// static
const char AntiFingerprintingBlockedDomainListComponentInstallerPolicy::
    kManifestRulesetFormatKey[] =;

// static
const int AntiFingerprintingBlockedDomainListComponentInstallerPolicy::
    kCurrentRulesetFormat =;

AntiFingerprintingBlockedDomainListComponentInstallerPolicy::
    AntiFingerprintingBlockedDomainListComponentInstallerPolicy() = default;

AntiFingerprintingBlockedDomainListComponentInstallerPolicy::
    ~AntiFingerprintingBlockedDomainListComponentInstallerPolicy() = default;

bool AntiFingerprintingBlockedDomainListComponentInstallerPolicy::
    SupportsGroupPolicyEnabledComponentUpdates() const {}

bool AntiFingerprintingBlockedDomainListComponentInstallerPolicy::
    RequiresNetworkEncryption() const {}

update_client::CrxInstaller::Result
AntiFingerprintingBlockedDomainListComponentInstallerPolicy::OnCustomInstall(
    const base::Value::Dict& manifest,
    const base::FilePath& install_dir) {}

void AntiFingerprintingBlockedDomainListComponentInstallerPolicy::
    OnCustomUninstall() {}

void AntiFingerprintingBlockedDomainListComponentInstallerPolicy::
    ComponentReady(const base::Version& version,
                   const base::FilePath& install_dir,
                   base::Value::Dict manifest) {}

// Called during startup and installation before ComponentReady().
bool AntiFingerprintingBlockedDomainListComponentInstallerPolicy::
    VerifyInstallation(const base::Value::Dict& manifest,
                       const base::FilePath& install_dir) const {}

base::FilePath AntiFingerprintingBlockedDomainListComponentInstallerPolicy::
    GetRelativeInstallDir() const {}

void AntiFingerprintingBlockedDomainListComponentInstallerPolicy::GetHash(
    std::vector<uint8_t>* hash) const {}

std::string
AntiFingerprintingBlockedDomainListComponentInstallerPolicy::GetName() const {}

update_client::InstallerAttributes
AntiFingerprintingBlockedDomainListComponentInstallerPolicy::
    GetInstallerAttributes() const {}

void RegisterAntiFingerprintingBlockedDomainListComponent(
    ComponentUpdateService* cus) {}

}  // namespace component_updater