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 5463f407bb852f446939f7046da8341dba15d2c8..509fcecbcbbc45ffc7f745b6e045e85e8506430a 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" |
@@ -239,6 +240,8 @@ void SpellcheckHunspellDictionary::DownloadDictionary(GURL url) { |
FOR_EACH_OBSERVER(Observer, observers_, OnHunspellDictionaryDownloadBegin()); |
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); |