Index: components/google/core/browser/google_url_tracker.cc |
diff --git a/components/google/core/browser/google_url_tracker.cc b/components/google/core/browser/google_url_tracker.cc |
index 2ead3643b3d199f29fef070df9d7c0abcfb9a9a4..fa0d1408b9a35aed67418991f82462a7eb486940 100644 |
--- a/components/google/core/browser/google_url_tracker.cc |
+++ b/components/google/core/browser/google_url_tracker.cc |
@@ -11,6 +11,7 @@ |
#include "base/single_thread_task_runner.h" |
#include "base/strings/string_util.h" |
#include "base/thread_task_runner_handle.h" |
+#include "components/data_use_measurement/core/data_use_user_data.h" |
#include "components/google/core/browser/google_pref_names.h" |
#include "components/google/core/browser/google_switches.h" |
#include "components/google/core/browser/google_util.h" |
@@ -163,6 +164,9 @@ void GoogleURLTracker::StartFetchIfDesirable() { |
already_fetched_ = true; |
fetcher_ = net::URLFetcher::Create(fetcher_id_, GURL(kSearchDomainCheckURL), |
net::URLFetcher::GET, this); |
+ data_use_measurement::DataUseUserData::AttachToFetcher( |
+ fetcher_.get(), |
+ data_use_measurement::DataUseUserData::GOOGLE_URL_TRACKER); |
++fetcher_id_; |
// We don't want this fetch to set new entries in the cache or cookies, lest |
// we alarm the user. |