Home
last modified time | relevance | path

Searched refs:enabled_state_provider_ (Results 1 – 5 of 5) sorted by relevance

/external/cronet/components/metrics/
Dmetrics_state_manager.cc247 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()
Dmetrics_state_manager_unittest.cc72 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
Dmetrics_service_observer_unittest.cc34 : 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
Dmetrics_service_unittest.cc225 : 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
Dmetrics_state_manager.h343 raw_ptr<EnabledStateProvider, DanglingUntriaged> enabled_state_provider_; variable