Index: chrome/browser/net/gaia/gaia_oauth_fetcher.cc |
diff --git a/chrome/browser/net/gaia/gaia_oauth_fetcher.cc b/chrome/browser/net/gaia/gaia_oauth_fetcher.cc |
index 4ee520b350ecdf3a358403c9beb6f8726561f9db..8d3c73cde2cc222ea3dac08ce4596b2df9d71530 100644 |
--- a/chrome/browser/net/gaia/gaia_oauth_fetcher.cc |
+++ b/chrome/browser/net/gaia/gaia_oauth_fetcher.cc |
@@ -23,6 +23,7 @@ |
#include "chrome/common/net/gaia/oauth_request_signer.h" |
#include "content/public/browser/notification_details.h" |
#include "content/public/browser/notification_source.h" |
+#include "content/public/common/content_url_request_user_data.h" |
#include "content/public/common/url_fetcher.h" |
#include "grit/chromium_strings.h" |
#include "net/base/load_flags.h" |
@@ -70,6 +71,9 @@ content::URLFetcher* GaiaOAuthFetcher::CreateGaiaFetcher( |
empty_body ? content::URLFetcher::GET : content::URLFetcher::POST, |
delegate); |
result->SetRequestContext(getter); |
+ // TODO(jochen): Do cookie audit. |
+ result->SetContentURLRequestUserData( |
+ new content::ContentURLRequestUserData()); |
// The Gaia/OAuth token exchange requests do not require any cookie-based |
// identification as part of requests. We suppress sending any cookies to |