| Index: components/rappor/log_uploader.cc
|
| diff --git a/components/rappor/log_uploader.cc b/components/rappor/log_uploader.cc
|
| index 92111840b490a64ac49615b48ad15244ecb27d83..97ad3e4fbc58064582e07a6a265e7b319b266581 100644
|
| --- a/components/rappor/log_uploader.cc
|
| +++ b/components/rappor/log_uploader.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "base/metrics/histogram_macros.h"
|
| #include "base/metrics/sparse_histogram.h"
|
| +#include "components/data_use_measurement/core/data_use_user_data.h"
|
| #include "net/base/load_flags.h"
|
| #include "net/base/net_errors.h"
|
| #include "net/url_request/url_fetcher.h"
|
| @@ -110,6 +111,8 @@ void LogUploader::StartScheduledUpload() {
|
| has_callback_pending_ = true;
|
| current_fetch_ =
|
| net::URLFetcher::Create(server_url_, net::URLFetcher::POST, this);
|
| + data_use_measurement::DataUseUserData::AttachToFetcher(
|
| + current_fetch_.get(), data_use_measurement::DataUseUserData::RAPPOR);
|
| current_fetch_->SetRequestContext(request_context_.get());
|
| current_fetch_->SetUploadData(mime_type_, queued_logs_.front());
|
|
|
|
|