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

Unified Diff: components/domain_reliability/uploader.h

Issue 2336043007: Domain Reliability: Don't crash on shutdown with uploads pending (Closed)
Patch Set: Shutdown uploader in unittest Created 4 years, 3 months 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/uploader.h
diff --git a/components/domain_reliability/uploader.h b/components/domain_reliability/uploader.h
index 700a4f8c2943e654316bacb5f8398419769eac73..2c504866594bf0d02f8d0dbf4373a27c30801738 100644
--- a/components/domain_reliability/uploader.h
+++ b/components/domain_reliability/uploader.h
@@ -63,6 +63,8 @@ class DOMAIN_RELIABILITY_EXPORT DomainReliabilityUploader {
const GURL& upload_url,
const UploadCallback& callback) = 0;
+ virtual void Shutdown();
+
virtual void set_discard_uploads(bool discard_uploads) = 0;
static int GetURLRequestUploadDepth(const net::URLRequest& request);

Powered by Google App Engine
This is Rietveld 408576698