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

Unified Diff: components/domain_reliability/uploader.h

Issue 491753003: Domain Reliability: Don't upload when metrics reporting is off. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make sure constructor and destructor are on correct threads. Created 6 years, 4 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 95d0e552f51ed4ce93a761f1621aaabc8d442f9a..6ab63c8f2d308b966b396ba3ffbd41728fdd47ad 100644
--- a/components/domain_reliability/uploader.h
+++ b/components/domain_reliability/uploader.h
@@ -41,6 +41,8 @@ class DOMAIN_RELIABILITY_EXPORT DomainReliabilityUploader {
const GURL& upload_url,
const UploadCallback& callback) = 0;
+ virtual void set_discard_uploads(bool discard_uploads) = 0;
+
static bool URLRequestIsUpload(const net::URLRequest& request);
};

Powered by Google App Engine
This is Rietveld 408576698