Index: components/translate/core/browser/translate_url_fetcher.cc |
diff --git a/components/translate/core/browser/translate_url_fetcher.cc b/components/translate/core/browser/translate_url_fetcher.cc |
index 6a5951723094a0415c0056c3074d2a22ee37ffbd..39c2b2c012bc1e9d74e3017bd8116ee602072989 100644 |
--- a/components/translate/core/browser/translate_url_fetcher.cc |
+++ b/components/translate/core/browser/translate_url_fetcher.cc |
@@ -4,6 +4,7 @@ |
#include "components/translate/core/browser/translate_url_fetcher.h" |
+#include "components/data_use_measurement/core/data_use_user_data.h" |
#include "components/translate/core/browser/translate_download_manager.h" |
#include "net/base/load_flags.h" |
#include "net/http/http_status_code.h" |
@@ -46,6 +47,8 @@ bool TranslateURLFetcher::Request( |
callback_ = callback; |
fetcher_ = net::URLFetcher::Create(id_, url_, net::URLFetcher::GET, this); |
+ data_use_measurement::DataUseUserData::AttachToFetcher( |
+ fetcher_.get(), data_use_measurement::DataUseUserData::TRANSLATE); |
fetcher_->SetLoadFlags(net::LOAD_DO_NOT_SEND_COOKIES | |
net::LOAD_DO_NOT_SAVE_COOKIES); |
fetcher_->SetRequestContext( |