Index: chrome/browser/spellchecker/spelling_service_client.cc |
diff --git a/chrome/browser/spellchecker/spelling_service_client.cc b/chrome/browser/spellchecker/spelling_service_client.cc |
index bd3014daf057f2cf9c4d9ab6f86be619a948b95d..888af4a27c3c1a01b3d36b7e3096019e9caa91e0 100644 |
--- a/chrome/browser/spellchecker/spelling_service_client.cc |
+++ b/chrome/browser/spellchecker/spelling_service_client.cc |
@@ -18,6 +18,7 @@ |
#include "chrome/common/pref_names.h" |
#include "chrome/common/spellcheck_common.h" |
#include "chrome/common/spellcheck_result.h" |
+#include "components/data_use_measurement/core/data_use_user_data.h" |
#include "components/user_prefs/user_prefs.h" |
#include "content/public/browser/browser_context.h" |
#include "google_apis/google_api_keys.h" |
@@ -105,6 +106,8 @@ bool SpellingServiceClient::RequestTextCheck( |
GURL url = GURL(kSpellingServiceURL); |
net::URLFetcher* fetcher = CreateURLFetcher(url).release(); |
+ data_use_measurement::DataUseUserData::AttachToFetcher( |
+ fetcher, data_use_measurement::DataUseUserData::SPELL_CHECKER); |
fetcher->SetRequestContext(context->GetRequestContext()); |
fetcher->SetUploadData("application/json", request); |
fetcher->SetLoadFlags( |