diff options
author | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-14 00:00:07 +0000 |
---|---|---|
committer | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-14 00:00:07 +0000 |
commit | bb1c4661382511a6853ca6ffaaa31c5113b167fb (patch) | |
tree | 2c40a9dd3a4e1af8c8db871bcd1edc93cd441f12 /cloud_print | |
parent | eac4be9e2c089e72f338f17a09a9027230adeb26 (diff) | |
download | chromium_src-bb1c4661382511a6853ca6ffaaa31c5113b167fb.zip chromium_src-bb1c4661382511a6853ca6ffaaa31c5113b167fb.tar.gz chromium_src-bb1c4661382511a6853ca6ffaaa31c5113b167fb.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, jamesr@chromium.org, joaodasilva@chromium.org, mmenke@chromium.org, simonjam@chromium.org
TBR=benm@chromium.org, jamesr@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=232802
Review URL: https://codereview.chromium.org/51683002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234964 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)); |