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 /cloud_print | |
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 'cloud_print')
-rw-r--r-- | cloud_print/service/service_state.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloud_print/service/service_state.cc b/cloud_print/service/service_state.cc index fff7694..1937ba2 100644 --- a/cloud_print/service/service_state.cc +++ b/cloud_print/service/service_state.cc @@ -180,7 +180,7 @@ std::string ServiceState::LoginToGoogle(const std::string& service, int load_flags = request.load_flags(); load_flags = load_flags | net::LOAD_DO_NOT_SEND_COOKIES; load_flags = load_flags | net::LOAD_DO_NOT_SAVE_COOKIES; - request.set_load_flags(load_flags); + request.SetLoadFlags(load_flags); scoped_ptr<net::UploadElementReader> reader( net::UploadOwnedBytesElementReader::CreateWithString(post_body)); |