| Index: chrome/browser/safe_browsing/incident_reporting/incident_report_uploader_impl.cc
|
| diff --git a/chrome/browser/safe_browsing/incident_reporting/incident_report_uploader_impl.cc b/chrome/browser/safe_browsing/incident_reporting/incident_report_uploader_impl.cc
|
| index 90fb54f78ad3d0b9478bb913256793baff8af043..59e1ee3b1e992e4b2414f061960ea66d968018a9 100644
|
| --- a/chrome/browser/safe_browsing/incident_reporting/incident_report_uploader_impl.cc
|
| +++ b/chrome/browser/safe_browsing/incident_reporting/incident_report_uploader_impl.cc
|
| @@ -8,6 +8,7 @@
|
|
|
| #include "base/metrics/histogram_macros.h"
|
| #include "chrome/common/safe_browsing/csd.pb.h"
|
| +#include "components/data_use_measurement/core/data_use_user_data.h"
|
| #include "google_apis/google_api_keys.h"
|
| #include "net/base/escape.h"
|
| #include "net/base/load_flags.h"
|
| @@ -54,6 +55,8 @@ IncidentReportUploaderImpl::IncidentReportUploaderImpl(
|
| net::URLFetcher::POST,
|
| this)),
|
| time_begin_(base::TimeTicks::Now()) {
|
| + data_use_measurement::DataUseUserData::AttachToFetcher(
|
| + url_fetcher_.get(), data_use_measurement::DataUseUserData::SAFE_BROWSING);
|
| UMA_HISTOGRAM_COUNTS("SBIRS.ReportPayloadSize", post_data.size());
|
| url_fetcher_->SetLoadFlags(net::LOAD_DISABLE_CACHE);
|
| url_fetcher_->SetAutomaticallyRetryOn5xx(false);
|
|
|