| Index: components/domain_reliability/monitor.h
|
| diff --git a/components/domain_reliability/monitor.h b/components/domain_reliability/monitor.h
|
| index a5a27261f941615b19f2a1496a18898908a34e86..29ba9935e18eb85950262d44f80f5ccc6f3dce8b 100644
|
| --- a/components/domain_reliability/monitor.h
|
| +++ b/components/domain_reliability/monitor.h
|
| @@ -88,6 +88,10 @@ class DOMAIN_RELIABILITY_EXPORT DomainReliabilityMonitor
|
| const scoped_refptr<net::URLRequestContextGetter>&
|
| url_request_context_getter);
|
|
|
| + // Shuts down the monitor prior to destruction. Currently, ensures that there
|
| + // are no pending uploads, to avoid hairy lifetime issues at destruction.
|
| + void Shutdown();
|
| +
|
| // Populates the monitor with contexts that were configured at compile time.
|
| void AddBakedInConfigs();
|
|
|
| @@ -130,6 +134,10 @@ class DOMAIN_RELIABILITY_EXPORT DomainReliabilityMonitor
|
| return context_manager_.contexts_size_for_testing();
|
| }
|
|
|
| + // Forces all pending uploads to run now, even if their minimum delay has not
|
| + // yet passed.
|
| + void ForceUploadsForTesting();
|
| +
|
| // DomainReliabilityContext::Factory implementation:
|
| std::unique_ptr<DomainReliabilityContext> CreateContextForConfig(
|
| std::unique_ptr<const DomainReliabilityConfig> config) override;
|
|
|