chromium/chrome/browser/safe_browsing/ohttp_key_service_factory.cc

// Copyright 2023 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/browser/safe_browsing/ohttp_key_service_factory.h"

#include "chrome/browser/browser_process.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/safe_browsing/network_context_service_factory.h"
#include "chrome/browser/safe_browsing/safe_browsing_service.h"
#include "components/safe_browsing/core/browser/hashprefix_realtime/ohttp_key_service.h"
#include "components/safe_browsing/core/common/hashprefix_realtime/hash_realtime_utils.h"
#include "content/public/browser/browser_context.h"
#include "services/network/public/cpp/cross_thread_pending_shared_url_loader_factory.h"

namespace safe_browsing {
bool kAllowInTests =;

// static
OhttpKeyService* OhttpKeyServiceFactory::GetForProfile(Profile* profile) {}

// static
OhttpKeyServiceFactory* OhttpKeyServiceFactory::GetInstance() {}

OhttpKeyServiceFactory::OhttpKeyServiceFactory()
    :{}

std::unique_ptr<KeyedService>
OhttpKeyServiceFactory::BuildServiceInstanceForBrowserContext(
    content::BrowserContext* context) const {}

bool OhttpKeyServiceFactory::ServiceIsCreatedWithBrowserContext() const {}

bool OhttpKeyServiceFactory::ServiceIsNULLWhileTesting() const {}

OhttpKeyServiceAllowerForTesting::OhttpKeyServiceAllowerForTesting() {}
OhttpKeyServiceAllowerForTesting::~OhttpKeyServiceAllowerForTesting() {}

// static
std::optional<std::string> OhttpKeyServiceFactory::GetCountry() {}

}  // namespace safe_browsing