commit | 0adbc94a889cc2d1558dabf0c70ac3be8853051f | [log] [tgz] |
---|---|---|
author | Gilad Arnold <garnold@chromium.org> | Mon May 12 10:35:43 2014 -0700 |
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | Thu May 22 08:11:55 2014 +0000 |
tree | 810e557c314c7c9acfeb899943f42fa1c2dce279 | |
parent | f62a4b81b66dfcb848191efe8470646a0c986f08 [diff] |
PM: Policy for checking whether an update may use the current connection. This is based on logic currently found in ConnectionManager::IsUpdateAllowedOver() and LibcurlHttpFetcher::IsUpdateAllowedOverCurrentConnection(). BUG=chromium:358323 TEST=Unit tests. Change-Id: Ib1a73d3fbe603b8686294088e26bc2d04ee73877 Reviewed-on: https://chromium-review.googlesource.com/199540 Tested-by: Gilad Arnold <garnold@chromium.org> Reviewed-by: Alex Deymo <deymo@chromium.org> Commit-Queue: Gilad Arnold <garnold@chromium.org>