Index: chrome/browser/profiles/profile_downloader.cc |
diff --git a/chrome/browser/profiles/profile_downloader.cc b/chrome/browser/profiles/profile_downloader.cc |
index f6364fd7e0bc04a20439ca93bd59d75400f60e7f..04f052c2177cc557cc165533fce0b7e24cf5056c 100644 |
--- a/chrome/browser/profiles/profile_downloader.cc |
+++ b/chrome/browser/profiles/profile_downloader.cc |
@@ -23,6 +23,7 @@ |
#include "chrome/browser/signin/chrome_signin_client_factory.h" |
#include "chrome/browser/signin/profile_oauth2_token_service_factory.h" |
#include "chrome/browser/signin/signin_manager_factory.h" |
+#include "components/data_use_measurement/core/data_use_user_data.h" |
#include "components/signin/core/browser/account_fetcher_service.h" |
#include "components/signin/core/browser/profile_oauth2_token_service.h" |
#include "components/signin/core/browser/signin_client.h" |
@@ -285,6 +286,9 @@ void ProfileDownloader::FetchImageData() { |
VLOG(1) << "Fetching profile image from " << image_url_with_size; |
profile_image_fetcher_ = net::URLFetcher::Create( |
GURL(image_url_with_size), net::URLFetcher::GET, this); |
+ data_use_measurement::DataUseUserData::AttachToFetcher( |
+ profile_image_fetcher_.get(), |
+ data_use_measurement::DataUseUserData::PROFILE_DOWNLOADER); |
profile_image_fetcher_->SetRequestContext( |
delegate_->GetBrowserProfile()->GetRequestContext()); |
profile_image_fetcher_->SetLoadFlags(net::LOAD_DO_NOT_SEND_COOKIES | |