#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 = …;
OhttpKeyService* OhttpKeyServiceFactory::GetForProfile(Profile* profile) { … }
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() { … }
std::optional<std::string> OhttpKeyServiceFactory::GetCountry() { … }
}