Index: chrome/service/gaia/service_gaia_authenticator.cc |
diff --git a/chrome/service/gaia/service_gaia_authenticator.cc b/chrome/service/gaia/service_gaia_authenticator.cc |
index a77f224f46c247176ba6fbf1e709a3dd66b38185..957d83fee7be0bb261ffdc68ae4140986913d596 100644 |
--- a/chrome/service/gaia/service_gaia_authenticator.cc |
+++ b/chrome/service/gaia/service_gaia_authenticator.cc |
@@ -8,6 +8,7 @@ |
#include "base/message_loop_proxy.h" |
#include "chrome/service/net/service_url_request_context.h" |
#include "chrome/service/service_process.h" |
+#include "content/public/common/content_url_request_user_data.h" |
#include "content/public/common/url_fetcher.h" |
#include "googleurl/src/gurl.h" |
@@ -68,6 +69,9 @@ void ServiceGaiaAuthenticator::DoPost(const GURL& post_url, |
post_url, content::URLFetcher::POST, this); |
request->SetRequestContext( |
g_service_process->GetServiceURLRequestContextGetter()); |
+ // TODO(jochen): Do cookie audit. |
+ request->SetContentURLRequestUserData( |
+ new content::ContentURLRequestUserData()); |
request->SetUploadData("application/x-www-form-urlencoded", post_body); |
request->Start(); |
} |