Index: chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc |
diff --git a/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc b/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc |
index aad12e1b89d2d324854a9baae10121b5853dc80f..8ce3037417a41495500ebf94dc73402c0c069cdc 100644 |
--- a/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc |
+++ b/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc |
@@ -12,6 +12,7 @@ |
#include "chrome/browser/spellchecker/spellcheck_service.h" |
#include "chrome/common/chrome_paths.h" |
#include "chrome/common/spellcheck_common.h" |
+#include "components/data_use_measurement/core/data_use_user_data.h" |
#include "content/public/browser/browser_thread.h" |
#include "content/public/browser/render_process_host.h" |
#include "net/base/load_flags.h" |
@@ -244,6 +245,8 @@ void SpellcheckHunspellDictionary::DownloadDictionary(GURL url) { |
OnHunspellDictionaryDownloadBegin(language_)); |
fetcher_ = net::URLFetcher::Create(url, net::URLFetcher::GET, this); |
+ data_use_measurement::DataUseUserData::AttachToFetcher( |
+ fetcher_.get(), data_use_measurement::DataUseUserData::SPELL_CHECKER); |
fetcher_->SetRequestContext(request_context_getter_); |
fetcher_->SetLoadFlags( |
net::LOAD_DO_NOT_SEND_COOKIES | net::LOAD_DO_NOT_SAVE_COOKIES); |