Commit 136356dc authored by rhalavati's avatar rhalavati Committed by Commit bot

Cookies disabled for DeviceManagementService.

Following discussion in https://codereview.chromium.org/2800653002, cookies
are disabled for network request of:
components/policy/core/common/cloud/device_management_service.cc

BUG=

Review-Url: https://codereview.chromium.org/2837123005
Cr-Commit-Position: refs/heads/master@{#467280}
parent 3f3cea85
......@@ -595,6 +595,8 @@ void DeviceManagementService::StartJob(DeviceManagementRequestJobImpl* job) {
.release();
data_use_measurement::DataUseUserData::AttachToFetcher(
fetcher, data_use_measurement::DataUseUserData::POLICY);
fetcher->SetLoadFlags(net::LOAD_DO_NOT_SAVE_COOKIES |
net::LOAD_DO_NOT_SEND_COOKIES);
job->ConfigureRequest(fetcher);
pending_jobs_[fetcher] = job;
fetcher->Start();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment