Index: chrome/browser/policy/device_management_service.cc |
diff --git a/chrome/browser/policy/device_management_service.cc b/chrome/browser/policy/device_management_service.cc |
index cfb4b56b622036dbe3be37a9552a9b0366ef102a..cc1321b66bcce994d0ec8c999a3be291bb6b8d75 100644 |
--- a/chrome/browser/policy/device_management_service.cc |
+++ b/chrome/browser/policy/device_management_service.cc |
@@ -17,6 +17,7 @@ |
#include "chrome/common/chrome_version_info.h" |
#include "content/public/browser/browser_thread.h" |
#include "content/public/common/content_client.h" |
+#include "content/public/common/content_url_request_user_data.h" |
#include "content/public/common/url_fetcher.h" |
#include "googleurl/src/gurl.h" |
#include "net/base/cookie_monster.h" |
@@ -514,6 +515,9 @@ void DeviceManagementService::StartJob(DeviceManagementRequestJobImpl* job, |
net::LOAD_DISABLE_CACHE | |
(bypass_proxy ? net::LOAD_BYPASS_PROXY : 0)); |
fetcher->SetRequestContext(request_context_getter_.get()); |
+ // No user data, as the request will be cookie-less. |
+ fetcher->SetContentURLRequestUserData( |
+ new content::ContentURLRequestUserData()); |
job->ConfigureRequest(fetcher); |
pending_jobs_[fetcher] = job; |
fetcher->Start(); |