Searched refs:enabled_state_provider_ (Results 1 – 5 of 5) sorted by relevance
/external/cronet/components/metrics/ |
D | metrics_state_manager.cc | 247 enabled_state_provider_(enabled_state_provider), in MetricsStateManager() 270 if (enabled_state_provider_->IsConsentGiven()) { in MetricsStateManager() 336 return enabled_state_provider_->IsReportingEnabled(); in IsMetricsReportingEnabled() 414 DCHECK(enabled_state_provider_->IsConsentGiven() || in ForceClientIdCreation()
|
D | metrics_state_manager_unittest.cc | 72 enabled_state_provider_(new TestEnabledStateProvider(false, false)) { in MetricsStateManagerTest() 83 &prefs_, enabled_state_provider_.get(), std::wstring(), in CreateStateManager() 98 enabled_state_provider_->set_consent(true); in EnableMetricsReporting() 99 enabled_state_provider_->set_enabled(true); in EnableMetricsReporting() 166 std::unique_ptr<TestEnabledStateProvider> enabled_state_provider_; member in metrics::MetricsStateManagerTest
|
D | metrics_service_observer_unittest.cc | 34 : enabled_state_provider_(/*consent=*/true, /*enabled=*/true) {} in MetricsServiceObserverTest() 62 return &enabled_state_provider_; in enabled_state_provider() 72 TestEnabledStateProvider enabled_state_provider_; member in metrics::__anon101ef14c0111::MetricsServiceObserverTest
|
D | metrics_service_unittest.cc | 225 : enabled_state_provider_(new TestEnabledStateProvider(false, false)) { in MetricsServiceTest() 245 GetLocalState(), enabled_state_provider_.get(), std::wstring(), in GetMetricsStateManager() 264 enabled_state_provider_->set_consent(enabled); in SetMetricsReporting() 265 enabled_state_provider_->set_enabled(enabled); in SetMetricsReporting() 338 std::unique_ptr<TestEnabledStateProvider> enabled_state_provider_; member in metrics::__anon1233dde50111::MetricsServiceTest
|
D | metrics_state_manager.h | 343 raw_ptr<EnabledStateProvider, DanglingUntriaged> enabled_state_provider_; variable
|