#include "components/component_updater/installer_policies/masked_domain_list_component_installer_policy.h"
#include <optional>
#include <string>
#include <tuple>
#include "base/check.h"
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/test/repeating_test_future.h"
#include "base/test/scoped_feature_list.h"
#include "base/test/task_environment.h"
#include "base/version.h"
#include "components/privacy_sandbox/masked_domain_list/masked_domain_list.pb.h"
#include "mojo/public/cpp/base/proto_wrapper.h"
#include "services/network/public/cpp/features.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace component_updater {
namespace {
_;
std::string FakeMDL(const std::string& owner_name) { … }
}
class MaskedDomainListComponentInstallerPolicyTest : public ::testing::Test { … };
TEST_F(MaskedDomainListComponentInstallerPolicyTest,
LoadsFile_OnComponentReady) { … }
TEST_F(MaskedDomainListComponentInstallerPolicyTest, LoadsNewListWhenUpdated) { … }
}