#include "chrome/browser/safe_browsing/client_side_detection_service_factory.h"
#include "base/command_line.h"
#include "base/memory/scoped_refptr.h"
#include "base/task/sequenced_task_runner.h"
#include "base/task/task_traits.h"
#include "base/task/thread_pool.h"
#include "chrome/browser/optimization_guide/optimization_guide_keyed_service.h"
#include "chrome/browser/optimization_guide/optimization_guide_keyed_service_factory.h"
#include "chrome/browser/profiles/incognito_helpers.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/safe_browsing/chrome_client_side_detection_service_delegate.h"
#include "chrome/common/chrome_switches.h"
#include "components/keyed_service/content/browser_context_dependency_manager.h"
#include "components/safe_browsing/buildflags.h"
#include "components/safe_browsing/content/browser/client_side_detection_service.h"
#include "components/safe_browsing/core/common/features.h"
#include "services/network/public/cpp/shared_url_loader_factory.h"
namespace safe_browsing {
ClientSideDetectionService* ClientSideDetectionServiceFactory::GetForProfile(
Profile* profile) { … }
ClientSideDetectionServiceFactory*
ClientSideDetectionServiceFactory::GetInstance() { … }
ClientSideDetectionServiceFactory::ClientSideDetectionServiceFactory()
: … { … }
std::unique_ptr<KeyedService>
ClientSideDetectionServiceFactory::BuildServiceInstanceForBrowserContext(
content::BrowserContext* context) const { … }
bool ClientSideDetectionServiceFactory::ServiceIsCreatedWithBrowserContext()
const { … }
bool ClientSideDetectionServiceFactory::ServiceIsNULLWhileTesting() const { … }
}