| Index: chrome/browser/chromeos/gdata/gdata.cc
|
| diff --git a/chrome/browser/chromeos/gdata/gdata.cc b/chrome/browser/chromeos/gdata/gdata.cc
|
| index 7378261e06416bf4129fd2f6888b3dba77e0225c..ace12101aff5d0d5b17029221170b9352b38a62d 100644
|
| --- a/chrome/browser/chromeos/gdata/gdata.cc
|
| +++ b/chrome/browser/chromeos/gdata/gdata.cc
|
| @@ -31,6 +31,7 @@
|
| #include "content/public/browser/notification_details.h"
|
| #include "content/public/browser/notification_source.h"
|
| #include "content/public/browser/notification_types.h"
|
| +#include "content/public/common/content_url_request_user_data.h"
|
| #include "net/base/file_stream.h"
|
| #include "net/base/load_flags.h"
|
| #include "net/http/http_response_headers.h"
|
| @@ -235,6 +236,9 @@ class UrlFetchOperation : public content::URLFetcherDelegate {
|
| url_fetcher_.reset(content::URLFetcher::Create(
|
| url, GetRequestType(), this));
|
| url_fetcher_->SetRequestContext(profile_->GetRequestContext());
|
| + // No user data, as the request will be cookie-less.
|
| + url_fetcher_->SetContentURLRequestUserData(
|
| + new content::ContentURLRequestUserData());
|
| // Always set flags to neither send nor save cookies.
|
| url_fetcher_->SetLoadFlags(
|
| net::LOAD_DO_NOT_SEND_COOKIES | net::LOAD_DO_NOT_SAVE_COOKIES);
|
|
|