chromium/components/subresource_filter/content/shared/browser/ruleset_publisher.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/subresource_filter/content/shared/browser/ruleset_publisher.h"

#include <utility>

#include "base/check.h"
#include "base/feature_list.h"
#include "base/files/file_util.h"
#include "base/functional/bind.h"
#include "base/location.h"
#include "base/logging.h"
#include "base/not_fatal_until.h"
#include "base/task/sequenced_task_runner.h"
#include "base/task/single_thread_task_runner.h"
#include "base/task/thread_pool.h"
#include "components/subresource_filter/content/shared/browser/ruleset_service.h"
#include "components/subresource_filter/core/common/common_features.h"
#include "components/subresource_filter/core/common/ruleset_config.h"
#include "components/subresource_filter/core/mojom/subresource_filter.mojom.h"
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/render_process_host.h"
#include "ipc/ipc_channel_proxy.h"

namespace subresource_filter {

RulesetPublisher::RulesetPublisher(
    RulesetService* ruleset_service,
    scoped_refptr<base::SequencedTaskRunner> blocking_task_runner,
    const RulesetConfig& ruleset_config)
    :{}

RulesetPublisher::~RulesetPublisher() = default;

void RulesetPublisher::SetRulesetPublishedCallbackForTesting(
    base::OnceClosure callback) {}

void RulesetPublisher::TryOpenAndSetRulesetFile(
    const base::FilePath& file_path,
    int expected_checksum,
    base::OnceCallback<void(RulesetFilePtr)> callback) {}

void RulesetPublisher::PublishNewRulesetVersion(
    RulesetFilePtr ruleset_data) {}

scoped_refptr<base::SingleThreadTaskRunner>
RulesetPublisher::BestEffortTaskRunner() {}

VerifiedRulesetDealer::Handle* RulesetPublisher::GetRulesetDealer() {}

void RulesetPublisher::IndexAndStoreAndPublishRulesetIfNeeded(
    const UnindexedRulesetInfo& unindexed_ruleset_info) {}

void RulesetPublisher::OnRenderProcessHostCreated(
    content::RenderProcessHost* rph) {}

}  // namespace subresource_filter