Index: components/policy/core/common/cloud/user_info_fetcher.cc |
diff --git a/components/policy/core/common/cloud/user_info_fetcher.cc b/components/policy/core/common/cloud/user_info_fetcher.cc |
index 6c479d07f3c359ae4c642d616e71eaab9414746a..0212bb99de0ada6b1ebabafd96c43e3d7ab2d22b 100644 |
--- a/components/policy/core/common/cloud/user_info_fetcher.cc |
+++ b/components/policy/core/common/cloud/user_info_fetcher.cc |
@@ -8,6 +8,7 @@ |
#include "base/logging.h" |
#include "base/strings/stringprintf.h" |
#include "base/values.h" |
+#include "components/data_use_measurement/core/data_use_user_data.h" |
#include "google_apis/gaia/gaia_urls.h" |
#include "google_apis/gaia/google_service_auth_error.h" |
#include "net/base/load_flags.h" |
@@ -44,6 +45,8 @@ void UserInfoFetcher::Start(const std::string& access_token) { |
url_fetcher_ = |
net::URLFetcher::Create(0, GaiaUrls::GetInstance()->oauth_user_info_url(), |
net::URLFetcher::GET, this); |
+ data_use_measurement::DataUseUserData::AttachToFetcher( |
+ url_fetcher_.get(), data_use_measurement::DataUseUserData::POLICY); |
url_fetcher_->SetRequestContext(context_); |
url_fetcher_->SetLoadFlags(net::LOAD_DO_NOT_SEND_COOKIES | |
net::LOAD_DO_NOT_SAVE_COOKIES); |