#include "components/custom_handlers/simple_protocol_handler_registry_factory.h"
#include <memory>
#include "base/no_destructor.h"
#include "build/build_config.h"
#include "components/custom_handlers/protocol_handler_registry.h"
#include "components/custom_handlers/test_protocol_handler_registry_delegate.h"
#include "components/keyed_service/content/browser_context_dependency_manager.h"
namespace custom_handlers {
SimpleProtocolHandlerRegistryFactory*
SimpleProtocolHandlerRegistryFactory::GetInstance() { … }
ProtocolHandlerRegistry*
SimpleProtocolHandlerRegistryFactory::GetForBrowserContext(
content::BrowserContext* context,
bool create) { … }
SimpleProtocolHandlerRegistryFactory::SimpleProtocolHandlerRegistryFactory()
: … { … }
bool SimpleProtocolHandlerRegistryFactory::ServiceIsCreatedWithBrowserContext()
const { … }
bool SimpleProtocolHandlerRegistryFactory::ServiceIsNULLWhileTesting() const { … }
std::unique_ptr<KeyedService>
SimpleProtocolHandlerRegistryFactory::BuildServiceInstanceForBrowserContext(
content::BrowserContext* context) const { … }
}