Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(185)

Issue 2275553002: Don't retry fetching policies if it's a blocking operation, (Closed)

Created:
4 years, 4 months ago by Marton Hunyady
Modified:
4 years, 4 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't retry fetching policies if it's a blocking operation, don't wait if we will bypass the proxy next time. BUG=639822 Committed: https://crrev.com/d3ff97fdea62ba0b09a06cf4f730f92b151a2c58 Cr-Commit-Position: refs/heads/master@{#414055}

Patch Set 1 #

Total comments: 2

Patch Set 2 : ShouldRetry returns an enum #

Total comments: 6

Patch Set 3 : Retry immediately if policy fetch #

Patch Set 4 : Add test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -17 lines) Patch
M components/policy/core/common/cloud/device_management_service.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/policy/core/common/cloud/device_management_service.cc View 1 2 5 chunks +47 lines, -17 lines 0 comments Download
M components/policy/core/common/cloud/device_management_service_unittest.cc View 1 2 3 1 chunk +32 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (9 generated)
Marton Hunyady
4 years, 4 months ago (2016-08-23 13:34:00 UTC) #2
Andrew T Wilson (Slow)
Can we add a test to ensure we don't retry failed policy fetches? https://codereview.chromium.org/2275553002/diff/1/components/policy/core/common/cloud/device_management_service.cc File ...
4 years, 4 months ago (2016-08-23 13:46:27 UTC) #3
Marton Hunyady
https://codereview.chromium.org/2275553002/diff/1/components/policy/core/common/cloud/device_management_service.cc File components/policy/core/common/cloud/device_management_service.cc (right): https://codereview.chromium.org/2275553002/diff/1/components/policy/core/common/cloud/device_management_service.cc#newcode358 components/policy/core/common/cloud/device_management_service.cc:358: bool DeviceManagementRequestJobImpl::ShouldRetry( On 2016/08/23 13:46:27, Andrew T Wilson (Slow) ...
4 years, 4 months ago (2016-08-23 14:09:44 UTC) #6
Andrew T Wilson (Slow)
Pretty good, just think we need a bit more clarity + a test. https://codereview.chromium.org/2275553002/diff/20001/components/policy/core/common/cloud/device_management_service.cc File ...
4 years, 4 months ago (2016-08-23 14:53:09 UTC) #7
Marton Hunyady
I added a test too. Drew, can you check if it's ok this way? (The ...
4 years, 4 months ago (2016-08-23 16:00:39 UTC) #10
Andrew T Wilson (Slow)
lgtm
4 years, 4 months ago (2016-08-24 12:37:35 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2275553002/60001
4 years, 4 months ago (2016-08-24 12:38:29 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-24 12:42:58 UTC) #16
commit-bot: I haz the power
4 years, 4 months ago (2016-08-24 12:44:53 UTC) #18
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/d3ff97fdea62ba0b09a06cf4f730f92b151a2c58
Cr-Commit-Position: refs/heads/master@{#414055}

Powered by Google App Engine
This is Rietveld 408576698