#include "components/component_updater/installer_policies/origin_trials_component_installer.h"
#include <iterator>
#include <utility>
#include <vector>
#include "base/command_line.h"
#include "base/files/file_path.h"
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/memory/ref_counted.h"
#include "base/path_service.h"
#include "base/values.h"
#include "components/component_updater/component_updater_paths.h"
namespace component_updater {
namespace {
static const char kManifestOriginTrialsKey[] = …;
const uint8_t kOriginTrialSha2Hash[] = …;
}
void OriginTrialsComponentInstallerPolicy::GetComponentHash(
std::vector<uint8_t>* hash) { … }
void OriginTrialsComponentInstallerPolicy::GetHash(
std::vector<uint8_t>* hash) const { … }
bool OriginTrialsComponentInstallerPolicy::VerifyInstallation(
const base::Value::Dict& manifest,
const base::FilePath& install_dir) const { … }
bool OriginTrialsComponentInstallerPolicy::
SupportsGroupPolicyEnabledComponentUpdates() const { … }
bool OriginTrialsComponentInstallerPolicy::RequiresNetworkEncryption() const { … }
update_client::CrxInstaller::Result
OriginTrialsComponentInstallerPolicy::OnCustomInstall(
const base::Value::Dict& manifest,
const base::FilePath& install_dir) { … }
void OriginTrialsComponentInstallerPolicy::OnCustomUninstall() { … }
void OriginTrialsComponentInstallerPolicy::ComponentReady(
const base::Version& version,
const base::FilePath& install_dir,
base::Value::Dict manifest) { … }
base::FilePath OriginTrialsComponentInstallerPolicy::GetRelativeInstallDir()
const { … }
std::string OriginTrialsComponentInstallerPolicy::GetName() const { … }
update_client::InstallerAttributes
OriginTrialsComponentInstallerPolicy::GetInstallerAttributes() const { … }
}