diff options
author | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-04 21:18:24 +0000 |
---|---|---|
committer | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-04 21:18:24 +0000 |
commit | 9b37c0533449d599cf8fc770572b467de61b2992 (patch) | |
tree | 4895897af423c7de66a7ae732ad263083f0f4df2 /net/ocsp | |
parent | 38fc8fb026c3d42ce5df3cc25b7295e4c1a8bf60 (diff) | |
download | chromium_src-9b37c0533449d599cf8fc770572b467de61b2992.zip chromium_src-9b37c0533449d599cf8fc770572b467de61b2992.tar.gz chromium_src-9b37c0533449d599cf8fc770572b467de61b2992.tar.bz2 |
[Net] Assert that URLRequests with LOAD_IGNORE_LIMITS have MAXIMUM_PRIORITY
Also remove the priority juggling in ClientSocketPoolBaseHelper, and instead
assert that any requests with ignore_limits = true also has priority =
MAXIMUM_PRIORITY.
BUG=166689
R=asanka@chromium.org, gene@chromium.org, joaodasilva@chromium.org, mmenke@chromium.org, simonjam@chromium.org
TBR=benm@chromium.org, jamesr@chromium.org
Review URL: https://codereview.chromium.org/51683002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232802 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/ocsp')
-rw-r--r-- | net/ocsp/nss_ocsp.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ocsp/nss_ocsp.cc b/net/ocsp/nss_ocsp.cc index d83b239..13913d6 100644 --- a/net/ocsp/nss_ocsp.cc +++ b/net/ocsp/nss_ocsp.cc @@ -397,8 +397,8 @@ class OCSPRequestSession request_ = new URLRequest(url_, DEFAULT_PRIORITY, this, url_request_context); // To meet the privacy requirements of incognito mode. - request_->set_load_flags(LOAD_DISABLE_CACHE | LOAD_DO_NOT_SAVE_COOKIES | - LOAD_DO_NOT_SEND_COOKIES); + request_->SetLoadFlags(LOAD_DISABLE_CACHE | LOAD_DO_NOT_SAVE_COOKIES | + LOAD_DO_NOT_SEND_COOKIES); if (http_request_method_ == "POST") { DCHECK(!upload_content_.empty()); |