chromium/chrome/browser/performance_manager/persistence/site_data/site_data_cache_facade_factory.cc

// Copyright 2019 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/performance_manager/persistence/site_data/site_data_cache_facade_factory.h"

#include "base/memory/ptr_util.h"
#include "base/no_destructor.h"
#include "base/run_loop.h"
#include "chrome/browser/history/history_service_factory.h"
#include "chrome/browser/performance_manager/persistence/site_data/site_data_cache_facade.h"
#include "chrome/browser/profiles/profile.h"
#include "components/performance_manager/performance_manager_impl.h"
#include "components/performance_manager/persistence/site_data/site_data_cache_factory.h"
#include "components/performance_manager/public/performance_manager.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/browser_thread.h"

namespace performance_manager {

namespace {
// Tests that want to use this factory will have to explicitly enable it.
bool g_enable_for_testing =;
}

SiteDataCacheFacadeFactory* SiteDataCacheFacadeFactory::GetInstance() {}

// static
std::unique_ptr<base::AutoReset<bool>>
SiteDataCacheFacadeFactory::EnableForTesting() {}

// static
void SiteDataCacheFacadeFactory::DisassociateForTesting(Profile* profile) {}

SiteDataCacheFacade* SiteDataCacheFacadeFactory::GetProfileFacadeForTesting(
    Profile* profile) {}

SiteDataCacheFacadeFactory::SiteDataCacheFacadeFactory()
    :{}

SiteDataCacheFacadeFactory::~SiteDataCacheFacadeFactory() = default;

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

bool SiteDataCacheFacadeFactory::ServiceIsCreatedWithBrowserContext() const {}

bool SiteDataCacheFacadeFactory::ServiceIsNULLWhileTesting() const {}

void SiteDataCacheFacadeFactory::OnBeforeFacadeCreated(
    base::PassKey<SiteDataCacheFacade>) {}

void SiteDataCacheFacadeFactory::OnFacadeDestroyed(
    base::PassKey<SiteDataCacheFacade>) {}

}  // namespace performance_manager