| Index: google_apis/gaia/gaia_auth_fetcher.cc
|
| diff --git a/google_apis/gaia/gaia_auth_fetcher.cc b/google_apis/gaia/gaia_auth_fetcher.cc
|
| index 1423359b4ae44df62c08ce8164605be744540373..377e20eca1fef7099dcd4eeecf502dd2d968d4d9 100644
|
| --- a/google_apis/gaia/gaia_auth_fetcher.cc
|
| +++ b/google_apis/gaia/gaia_auth_fetcher.cc
|
| @@ -15,6 +15,7 @@
|
| #include "base/strings/string_util.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_auth_consumer.h"
|
| #include "google_apis/gaia/gaia_constants.h"
|
| #include "google_apis/gaia/gaia_urls.h"
|
| @@ -208,6 +209,8 @@ void GaiaAuthFetcher::CreateAndStartGaiaFetcher(const std::string& body,
|
| fetcher_ = net::URLFetcher::Create(
|
| 0, gaia_gurl, body.empty() ? net::URLFetcher::GET : net::URLFetcher::POST,
|
| this);
|
| + data_use_measurement::DataUseUserData::AttachToFetcher(
|
| + fetcher_.get(), data_use_measurement::DataUseUserData::GOOGLE_APIS);
|
| fetcher_->SetRequestContext(getter_);
|
| fetcher_->SetUploadData("application/x-www-form-urlencoded", body);
|
|
|
|
|