chromium/components/domain_reliability/context_manager.cc

// Copyright 2015 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/domain_reliability/context_manager.h"

#include <utility>

#include "base/functional/callback_helpers.h"
#include "components/domain_reliability/google_configs.h"
#include "net/base/url_util.h"

namespace domain_reliability {

DomainReliabilityContextManager::DomainReliabilityContextManager(
    const MockableTime* time,
    const std::string& upload_reporter_string,
    DomainReliabilityContext::UploadAllowedCallback upload_allowed_callback,
    DomainReliabilityDispatcher* dispatcher)
    :{}

DomainReliabilityContextManager::~DomainReliabilityContextManager() = default;

void DomainReliabilityContextManager::RouteBeacon(
    std::unique_ptr<DomainReliabilityBeacon> beacon) {}

void DomainReliabilityContextManager::ClearBeacons(
    const base::RepeatingCallback<bool(const url::Origin&)>& origin_filter) {}

DomainReliabilityContext* DomainReliabilityContextManager::AddContextForConfig(
    std::unique_ptr<const DomainReliabilityConfig> config) {}

void DomainReliabilityContextManager::RemoveContexts(
    const base::RepeatingCallback<bool(const url::Origin&)>& origin_filter) {}

DomainReliabilityContext* DomainReliabilityContextManager::GetContext(
    const std::string& host) const {}

DomainReliabilityContext*
DomainReliabilityContextManager::GetSuperdomainContext(
    const std::string& host) const {}

void DomainReliabilityContextManager::OnNetworkChanged(base::TimeTicks now) {}

void DomainReliabilityContextManager::SetUploader(
    DomainReliabilityUploader* uploader) {}

std::unique_ptr<DomainReliabilityContext>
DomainReliabilityContextManager::CreateContextForConfig(
    std::unique_ptr<const DomainReliabilityConfig> config) const {}

}  // namespace domain_reliability