Index: components/domain_reliability/uploader.cc |
diff --git a/components/domain_reliability/uploader.cc b/components/domain_reliability/uploader.cc |
index c5e209904ee386b48a9d253e1ee409a117ba7b2f..90952af3fb2118faba01aaf41ce356eea1d9fb8c 100644 |
--- a/components/domain_reliability/uploader.cc |
+++ b/components/domain_reliability/uploader.cc |
@@ -9,6 +9,7 @@ |
#include "base/metrics/sparse_histogram.h" |
#include "base/stl_util.h" |
#include "base/supports_user_data.h" |
+#include "components/data_use_measurement/core/data_use_user_data.h" |
#include "components/domain_reliability/util.h" |
#include "net/base/load_flags.h" |
#include "net/base/net_errors.h" |
@@ -77,6 +78,8 @@ class DomainReliabilityUploaderImpl |
net::URLFetcher* fetcher = |
net::URLFetcher::Create(0, upload_url, net::URLFetcher::POST, this) |
.release(); |
+ data_use_measurement::DataUseUserData::AttachToFetcher( |
+ fetcher, data_use_measurement::DataUseUserData::DOMAIN_RELIABILITY); |
fetcher->SetRequestContext(url_request_context_getter_.get()); |
fetcher->SetLoadFlags(net::LOAD_DO_NOT_SEND_COOKIES | |
net::LOAD_DO_NOT_SAVE_COOKIES); |