chromium/chrome/browser/safe_browsing/chrome_ping_manager_factory.cc

// Copyright 2022 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/chrome_ping_manager_factory.h"

#include "base/command_line.h"
#include "base/no_destructor.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/safe_browsing/chrome_safe_browsing_hats_delegate.h"
#include "chrome/browser/safe_browsing/chrome_user_population_helper.h"
#include "chrome/browser/safe_browsing/chrome_v4_protocol_config_provider.h"
#include "chrome/browser/safe_browsing/safe_browsing_service.h"
#include "chrome/browser/signin/identity_manager_factory.h"
#include "components/prefs/pref_service.h"
#include "components/safe_browsing/content/browser/web_ui/safe_browsing_ui.h"
#include "components/safe_browsing/core/browser/ping_manager.h"
#include "components/safe_browsing/core/browser/sync/safe_browsing_primary_account_token_fetcher.h"
#include "components/safe_browsing/core/browser/sync/sync_utils.h"
#include "components/safe_browsing/core/common/features.h"
#include "components/safe_browsing/core/common/safe_browsing_prefs.h"
#include "content/public/browser/browser_thread.h"

namespace safe_browsing {

namespace {
bool kAllowPingManagerInTests =;
}  // namespace

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

// static
PingManager* ChromePingManagerFactory::GetForBrowserContext(
    content::BrowserContext* context) {}

ChromePingManagerFactory::ChromePingManagerFactory()
    :{}

ChromePingManagerFactory::~ChromePingManagerFactory() = default;

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

// static
bool ChromePingManagerFactory::ShouldFetchAccessTokenForReport(
    Profile* profile) {}

// static
bool ChromePingManagerFactory::ShouldSendPersistedReport(Profile* profile) {}

bool ChromePingManagerFactory::ServiceIsCreatedWithBrowserContext() const {}

bool ChromePingManagerFactory::ServiceIsNULLWhileTesting() const {}

ChromePingManagerAllowerForTesting::ChromePingManagerAllowerForTesting() {}

ChromePingManagerAllowerForTesting::~ChromePingManagerAllowerForTesting() {}

}  // namespace safe_browsing