Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(212)

Unified Diff: components/domain_reliability/monitor.h

Issue 2336043007: Domain Reliability: Don't crash on shutdown with uploads pending (Closed)
Patch Set: No, really. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/domain_reliability/monitor.h
diff --git a/components/domain_reliability/monitor.h b/components/domain_reliability/monitor.h
index a5a27261f941615b19f2a1496a18898908a34e86..743463b929e612d40a0b9fcb2e30cb83f4b491d9 100644
--- a/components/domain_reliability/monitor.h
+++ b/components/domain_reliability/monitor.h
@@ -88,6 +88,8 @@ class DOMAIN_RELIABILITY_EXPORT DomainReliabilityMonitor
const scoped_refptr<net::URLRequestContextGetter>&
url_request_context_getter);
+ void Shutdown();
mmenke 2016/12/14 19:12:17 Needs description
Julia Tuttle 2016/12/15 21:53:00 Done.
+
// Populates the monitor with contexts that were configured at compile time.
void AddBakedInConfigs();
@@ -130,6 +132,8 @@ class DOMAIN_RELIABILITY_EXPORT DomainReliabilityMonitor
return context_manager_.contexts_size_for_testing();
}
+ void ForceUploadsForTesting();
mmenke 2016/12/14 19:12:17 Maybe add a comment?
Julia Tuttle 2016/12/15 21:53:00 Done.
+
// DomainReliabilityContext::Factory implementation:
std::unique_ptr<DomainReliabilityContext> CreateContextForConfig(
std::unique_ptr<const DomainReliabilityConfig> config) override;

Powered by Google App Engine
This is Rietveld 408576698