Index: components/omnibox/browser/zero_suggest_provider.cc |
diff --git a/components/omnibox/browser/zero_suggest_provider.cc b/components/omnibox/browser/zero_suggest_provider.cc |
index b93b0ab3d587254335848214b5de5ecbabbeef6c..9b9dcfc08021b65b5f3abf407f79aecb4369c1d9 100644 |
--- a/components/omnibox/browser/zero_suggest_provider.cc |
+++ b/components/omnibox/browser/zero_suggest_provider.cc |
@@ -14,6 +14,7 @@ |
#include "base/strings/string_util.h" |
#include "base/strings/utf_string_conversions.h" |
#include "base/time/time.h" |
+#include "components/data_use_measurement/core/data_use_user_data.h" |
#include "components/history/core/browser/history_types.h" |
#include "components/history/core/browser/top_sites.h" |
#include "components/metrics/proto/omnibox_input_type.pb.h" |
@@ -319,6 +320,8 @@ void ZeroSuggestProvider::Run(const GURL& suggest_url) { |
const int kFetcherID = 1; |
fetcher_ = net::URLFetcher::Create(kFetcherID, suggest_url, |
net::URLFetcher::GET, this); |
+ data_use_measurement::DataUseUserData::AttachToFetcher( |
+ fetcher_.get(), data_use_measurement::DataUseUserData::OMNIBOX); |
fetcher_->SetRequestContext(client()->GetRequestContext()); |
fetcher_->SetLoadFlags(net::LOAD_DO_NOT_SAVE_COOKIES); |
// Add Chrome experiment state to the request headers. |