Index: chrome/browser/extensions/apps_promo.cc |
diff --git a/chrome/browser/extensions/apps_promo.cc b/chrome/browser/extensions/apps_promo.cc |
index f67999a7ebb41f8e18c4cd4eab7acfa1be9e5c1b..0edd6d14da9212d5084b6f0d2595d9086aaf2b72 100644 |
--- a/chrome/browser/extensions/apps_promo.cc |
+++ b/chrome/browser/extensions/apps_promo.cc |
@@ -15,6 +15,7 @@ |
#include "chrome/common/chrome_notification_types.h" |
#include "chrome/common/pref_names.h" |
#include "content/public/browser/notification_service.h" |
+#include "content/public/common/content_url_request_user_data.h" |
#include "content/public/common/url_constants.h" |
#include "content/public/common/url_fetcher.h" |
#include "net/base/load_flags.h" |
@@ -360,6 +361,9 @@ void AppsPromoLogoFetcher::FetchLogo() { |
0, promo_data_.logo, content::URLFetcher::GET, this)); |
url_fetcher_->SetRequestContext( |
g_browser_process->system_request_context()); |
+ // No user data, as the request will be cookie-less. |
+ url_fetcher_->SetContentURLRequestUserData( |
+ new content::ContentURLRequestUserData()); |
url_fetcher_->SetLoadFlags(net::LOAD_DO_NOT_SEND_COOKIES | |
net::LOAD_DO_NOT_SAVE_COOKIES); |
url_fetcher_->Start(); |