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

Unified Diff: components/domain_reliability/uploader.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/uploader.h
diff --git a/components/domain_reliability/uploader.h b/components/domain_reliability/uploader.h
index 6962711ce1b1cf62596d7caa0cdcd7d319e3c6cc..8af42efe5c420d8a74857491e31163df039f41d4 100644
--- a/components/domain_reliability/uploader.h
+++ b/components/domain_reliability/uploader.h
@@ -65,6 +65,8 @@ class DOMAIN_RELIABILITY_EXPORT DomainReliabilityUploader {
const GURL& upload_url,
const UploadCallback& callback) = 0;
+ virtual void Shutdown();
mmenke 2016/12/14 19:12:17 Needs a comment.
Julia Tuttle 2016/12/15 21:53:00 Done.
+
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