#include "chrome/browser/enterprise/connectors/reporting/browser_crash_event_router.h"
#include "base/memory/singleton.h"
#include "chrome/browser/enterprise/connectors/reporting/crash_reporting_context.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/profiles/profile_selections.h"
namespace enterprise_connectors {
BrowserCrashEventRouter::BrowserCrashEventRouter(
content::BrowserContext* context) { … }
BrowserCrashEventRouter::~BrowserCrashEventRouter() { … }
BrowserCrashEventRouterFactory* BrowserCrashEventRouterFactory::GetInstance() { … }
BrowserCrashEventRouter* BrowserCrashEventRouterFactory::GetForBrowserContext(
content::BrowserContext* context) { … }
bool BrowserCrashEventRouterFactory::ServiceIsCreatedWithBrowserContext()
const { … }
bool BrowserCrashEventRouterFactory::ServiceIsNULLWhileTesting() const { … }
BrowserCrashEventRouterFactory::BrowserCrashEventRouterFactory()
: … { … }
BrowserCrashEventRouterFactory::~BrowserCrashEventRouterFactory() = default;
KeyedService* BrowserCrashEventRouterFactory::BuildServiceInstanceFor(
content::BrowserContext* context) const { … }
}