chromium/components/blocklist/opt_out_blocklist/opt_out_blocklist_data.cc

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/blocklist/opt_out_blocklist/opt_out_blocklist_data.h"

#include "base/memory/ptr_util.h"

namespace blocklist {

BlocklistData::BlocklistData(std::unique_ptr<Policy> session_policy,
                             std::unique_ptr<Policy> persistent_policy,
                             std::unique_ptr<Policy> host_policy,
                             std::unique_ptr<Policy> type_policy,
                             size_t max_hosts,
                             AllowedTypesAndVersions allowed_types)
    :{}
BlocklistData::~BlocklistData() = default;

void BlocklistData::ClearData() {}

void BlocklistData::AddEntry(const std::string& host_name,
                             bool opt_out,
                             int type,
                             base::Time time,
                             bool is_from_persistent_storage) {}

BlocklistReason BlocklistData::IsAllowed(
    const std::string& host_name,
    int type,
    bool ignore_long_term_block_list_rules,
    base::Time time,
    std::vector<BlocklistReason>* passed_reasons) const {}

void BlocklistData::EvictOldestHost() {}

bool BlocklistData::IsHostBlocklisted(const std::string& host_name,
                                      base::Time time) const {}

bool BlocklistData::IsUserOptedOutInGeneral(base::Time time) const {}

}  // namespace blocklist