chromium/chrome/updater/external_constants_builder.cc

// Copyright 2020 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/updater/external_constants_builder.h"

#include <iterator>
#include <optional>
#include <string>
#include <utility>
#include <vector>

#include "base/files/file_util.h"
#include "base/json/json_file_value_serializer.h"
#include "base/logging.h"
#include "base/numerics/safe_conversions.h"
#include "base/time/time.h"
#include "base/values.h"
#include "chrome/updater/constants.h"
#include "chrome/updater/external_constants_default.h"
#include "chrome/updater/external_constants_override.h"
#include "chrome/updater/updater_scope.h"
#include "chrome/updater/util/util.h"
#include "components/crx_file/crx_verifier.h"
#include "url/gurl.h"

namespace updater {

namespace {

std::vector<std::string> StringVectorFromGURLVector(
    const std::vector<GURL>& gurls) {}

}  // namespace

ExternalConstantsBuilder::~ExternalConstantsBuilder() {}

ExternalConstantsBuilder& ExternalConstantsBuilder::SetUpdateURL(
    const std::vector<std::string>& urls) {}

ExternalConstantsBuilder& ExternalConstantsBuilder::ClearUpdateURL() {}

ExternalConstantsBuilder& ExternalConstantsBuilder::SetCrashUploadURL(
    const std::string& url) {}

ExternalConstantsBuilder& ExternalConstantsBuilder::ClearCrashUploadURL() {}

ExternalConstantsBuilder& ExternalConstantsBuilder::SetDeviceManagementURL(
    const std::string& url) {}

ExternalConstantsBuilder& ExternalConstantsBuilder::ClearDeviceManagementURL() {}

ExternalConstantsBuilder& ExternalConstantsBuilder::SetAppLogoURL(
    const std::string& url) {}

ExternalConstantsBuilder& ExternalConstantsBuilder::ClearAppLogoURL() {}

ExternalConstantsBuilder& ExternalConstantsBuilder::SetUseCUP(bool use_cup) {}

ExternalConstantsBuilder& ExternalConstantsBuilder::ClearUseCUP() {}

ExternalConstantsBuilder& ExternalConstantsBuilder::SetInitialDelay(
    base::TimeDelta initial_delay) {}

ExternalConstantsBuilder& ExternalConstantsBuilder::ClearInitialDelay() {}

ExternalConstantsBuilder& ExternalConstantsBuilder::SetServerKeepAliveTime(
    base::TimeDelta server_keep_alive_time) {}

ExternalConstantsBuilder&
ExternalConstantsBuilder::ClearServerKeepAliveSeconds() {}

ExternalConstantsBuilder& ExternalConstantsBuilder::SetCrxVerifierFormat(
    crx_file::VerifierFormat crx_verifier_format) {}

ExternalConstantsBuilder& ExternalConstantsBuilder::ClearCrxVerifierFormat() {}

ExternalConstantsBuilder& ExternalConstantsBuilder::SetGroupPolicies(
    const base::Value::Dict& group_policies) {}

ExternalConstantsBuilder& ExternalConstantsBuilder::ClearGroupPolicies() {}

ExternalConstantsBuilder& ExternalConstantsBuilder::SetOverinstallTimeout(
    const base::TimeDelta& overinstall_timeout) {}

ExternalConstantsBuilder& ExternalConstantsBuilder::ClearOverinstallTimeout() {}

ExternalConstantsBuilder& ExternalConstantsBuilder::SetIdleCheckPeriod(
    const base::TimeDelta& idle_check_period) {}

ExternalConstantsBuilder& ExternalConstantsBuilder::ClearIdleCheckPeriod() {}

ExternalConstantsBuilder& ExternalConstantsBuilder::SetMachineManaged(
    const std::optional<bool>& is_managed_device) {}

ExternalConstantsBuilder& ExternalConstantsBuilder::ClearMachineManaged() {}

ExternalConstantsBuilder& ExternalConstantsBuilder::SetEnableDiffUpdates(
    bool enable_diffs) {}

ExternalConstantsBuilder& ExternalConstantsBuilder::ClearEnableDiffUpdates() {}

bool ExternalConstantsBuilder::Overwrite() {}

bool ExternalConstantsBuilder::Modify() {}

}  // namespace updater