Index: net/url_request/url_request_http_job.cc |
diff --git a/net/url_request/url_request_http_job.cc b/net/url_request/url_request_http_job.cc |
index 41b15158d5728f0022466d97b8991e4b4de8b755..78eca419a0379a0935a7ee2804fd5d455ebcfd89 100644 |
--- a/net/url_request/url_request_http_job.cc |
+++ b/net/url_request/url_request_http_job.cc |
@@ -262,7 +262,7 @@ void URLRequestHttpJob::Start() { |
// Privacy mode could still be disabled in OnCookiesLoaded if we are going |
// to send previously saved cookies. |
request_info_.privacy_mode = enable_privacy_mode ? |
- kPrivacyModeEnabled : kPrivacyModeDisabled; |
+ PRIVACY_MODE_ENABLED : PRIVACY_MODE_DISABLED; |
// Strip Referer from request_info_.extra_headers to prevent, e.g., plugins |
// from overriding headers that are controlled using other means. Otherwise a |
@@ -581,7 +581,7 @@ void URLRequestHttpJob::OnCookiesLoaded(const std::string& cookie_line) { |
request_info_.extra_headers.SetHeader( |
HttpRequestHeaders::kCookie, cookie_line); |
// Disable privacy mode as we are sending cookies anyway. |
- request_info_.privacy_mode = kPrivacyModeDisabled; |
+ request_info_.privacy_mode = PRIVACY_MODE_DISABLED; |
} |
DoStartTransaction(); |
} |