Searched refs:g_factory (Results 1 – 1 of 1) sorted by relevance
12 static SingleSampleMetricsFactory* g_factory = nullptr; variable16 if (!g_factory) in Get()17 g_factory = new DefaultSingleSampleMetricsFactory(); in Get()19 return g_factory; in Get()25 DCHECK(!g_factory); in SetFactory()26 g_factory = factory.release(); in SetFactory()31 DCHECK(g_factory); in DeleteFactoryForTesting()32 delete g_factory; in DeleteFactoryForTesting()33 g_factory = nullptr; in DeleteFactoryForTesting()