Index: chrome/browser/spellchecker/feedback_sender.cc |
diff --git a/chrome/browser/spellchecker/feedback_sender.cc b/chrome/browser/spellchecker/feedback_sender.cc |
index 35aab8bffb1bf5926f43db328973710ad548c9e0..d9d1ffe082d9bba8ae4e51b23e95625c1b3e2065 100644 |
--- a/chrome/browser/spellchecker/feedback_sender.cc |
+++ b/chrome/browser/spellchecker/feedback_sender.cc |
@@ -48,6 +48,7 @@ |
#include "chrome/common/spellcheck_common.h" |
#include "chrome/common/spellcheck_marker.h" |
#include "chrome/common/spellcheck_messages.h" |
+#include "components/data_use_measurement/core/data_use_user_data.h" |
#include "content/public/browser/render_process_host.h" |
#include "google_apis/google_api_keys.h" |
#include "net/base/load_flags.h" |
@@ -410,6 +411,8 @@ void FeedbackSender::SendFeedback(const std::vector<Misspelling>& feedback_data, |
net::URLFetcher* sender = |
net::URLFetcher::Create(kUrlFetcherId, feedback_service_url_, |
net::URLFetcher::POST, this).release(); |
+ data_use_measurement::DataUseUserData::AttachToFetcher( |
+ sender, data_use_measurement::DataUseUserData::SPELL_CHECKER); |
sender->SetLoadFlags(net::LOAD_DO_NOT_SEND_COOKIES | |
net::LOAD_DO_NOT_SAVE_COOKIES); |
sender->SetUploadData("application/json", feedback); |