Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(542)

Unified Diff: components/policy/core/common/cloud/device_management_service.cc

Issue 2035293002: Remove URLRequest::GetResponseCookies and URLRequestJob::GetResponseCookies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments rogerta Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/service/cloud_print/printer_job_handler.cc ('k') | google_apis/gaia/gaia_auth_fetcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/policy/core/common/cloud/device_management_service.cc
diff --git a/components/policy/core/common/cloud/device_management_service.cc b/components/policy/core/common/cloud/device_management_service.cc
index 8abd288b19261d870715d7f245df570255952b78..7061e6f3661bff2270b26f61593b287d5ddb3c05 100644
--- a/components/policy/core/common/cloud/device_management_service.cc
+++ b/components/policy/core/common/cloud/device_management_service.cc
@@ -168,7 +168,6 @@ class DeviceManagementRequestJobImpl : public DeviceManagementRequestJob {
// Handles the URL request response.
void HandleResponse(const net::URLRequestStatus& status,
int response_code,
- const net::ResponseCookies& cookies,
const std::string& data);
// Gets the URL to contact.
@@ -243,7 +242,6 @@ void DeviceManagementRequestJobImpl::Run() {
void DeviceManagementRequestJobImpl::HandleResponse(
const net::URLRequestStatus& status,
int response_code,
- const net::ResponseCookies& cookies,
const std::string& data) {
if (status.status() != net::URLRequestStatus::SUCCESS) {
LOG(WARNING) << "DMServer request failed, status: " << status.status()
@@ -557,8 +555,7 @@ void DeviceManagementService::OnURLFetchComplete(
} else {
std::string data;
source->GetResponseAsString(&data);
- job->HandleResponse(source->GetStatus(), source->GetResponseCode(),
- source->GetCookies(), data);
+ job->HandleResponse(source->GetStatus(), source->GetResponseCode(), data);
}
delete source;
}
« no previous file with comments | « chrome/service/cloud_print/printer_job_handler.cc ('k') | google_apis/gaia/gaia_auth_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698