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 06ce0a5853931ea4b3b3059dba065b318b22e5d8..6970b62d60ec0cee197c2d3c46062f62ea713bd6 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( |