Index: chrome/browser/profiles/profile_downloader.cc |
=================================================================== |
--- chrome/browser/profiles/profile_downloader.cc (revision 124385) |
+++ chrome/browser/profiles/profile_downloader.cc (working copy) |
@@ -28,6 +28,7 @@ |
#include "content/public/browser/notification_types.h" |
#include "content/public/common/url_fetcher.h" |
#include "googleurl/src/gurl.h" |
+#include "net/base/load_flags.h" |
#include "skia/ext/image_operations.h" |
using content::BrowserThread; |
@@ -244,6 +245,7 @@ |
GURL(kUserEntryURL), content::URLFetcher::GET, this)); |
user_entry_fetcher_->SetRequestContext( |
delegate_->GetBrowserProfile()->GetRequestContext()); |
+ user_entry_fetcher_->SetLoadFlags(net::LOAD_DO_NOT_SAVE_COOKIES); |
if (!auth_token_.empty()) { |
user_entry_fetcher_->SetExtraRequestHeaders( |
base::StringPrintf(kAuthorizationHeader, auth_token_.c_str())); |
@@ -305,6 +307,7 @@ |
GURL(image_url), content::URLFetcher::GET, this)); |
profile_image_fetcher_->SetRequestContext( |
delegate_->GetBrowserProfile()->GetRequestContext()); |
+ profile_image_fetcher_->SetLoadFlags(net::LOAD_DO_NOT_SAVE_COOKIES); |
if (!auth_token_.empty()) { |
profile_image_fetcher_->SetExtraRequestHeaders( |
base::StringPrintf(kAuthorizationHeader, auth_token_.c_str())); |