Index: chrome/browser/component_updater/component_updater_service.cc |
diff --git a/chrome/browser/component_updater/component_updater_service.cc b/chrome/browser/component_updater/component_updater_service.cc |
index 0c090cce9b9c7e6bc578ffd837395a09b899a334..1e741f7f012017787c796995490859a0c9c3b645 100644 |
--- a/chrome/browser/component_updater/component_updater_service.cc |
+++ b/chrome/browser/component_updater/component_updater_service.cc |
@@ -28,6 +28,7 @@ |
#include "content/public/browser/notification_service.h" |
#include "content/public/browser/utility_process_host.h" |
#include "content/public/browser/utility_process_host_client.h" |
+#include "content/public/common/content_url_request_user_data.h" |
#include "content/public/common/url_fetcher_delegate.h" |
#include "content/public/common/url_fetcher.h" |
#include "googleurl/src/gurl.h" |
@@ -139,6 +140,9 @@ void StartFetch(content::URLFetcher* fetcher, |
net::URLRequestContextGetter* context_getter, |
bool save_to_file) { |
fetcher->SetRequestContext(context_getter); |
+ // No user data, as the request will be cookie-less. |
+ fetcher->SetContentURLRequestUserData( |
+ new content::ContentURLRequestUserData()); |
fetcher->SetLoadFlags(net::LOAD_DO_NOT_SEND_COOKIES | |
net::LOAD_DO_NOT_SAVE_COOKIES | |
net::LOAD_DISABLE_CACHE); |