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

Issue 885653007: Modify CloudPolicyClient to support multiple concurrent requests. (Closed)

Created:
5 years, 10 months ago by Andrew T Wilson (Slow)
Modified:
5 years, 10 months ago
Reviewers:
bartfab (slow)
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Modify CloudPolicyClient to support multiple concurrent requests. CloudPolicyClient previously only allowed a single outstanding request at once, and issuing a new request would cause the previous request to silently fail. This behavior made sense for policy fetches, but not for other types of out-of-band requests (status uploads, certificate uploads, etc). CloudPolicyClient now allows multiple requests at once, and differentiates between policy-fetch/registration related requests and out-of-band requests. BUG=452563 Committed: https://crrev.com/4d7bcd649f45b21838e41a9174568c6db6373786 Cr-Commit-Position: refs/heads/master@{#315084}

Patch Set 1 #

Patch Set 2 : Added test for unregistration #

Total comments: 12

Patch Set 3 : More review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+190 lines, -52 lines) Patch
M components/policy/core/common/cloud/cloud_policy_client.h View 1 2 5 chunks +17 lines, -1 line 0 comments Download
M components/policy/core/common/cloud/cloud_policy_client.cc View 1 2 11 chunks +78 lines, -50 lines 0 comments Download
M components/policy/core/common/cloud/cloud_policy_client_unittest.cc View 1 2 4 chunks +95 lines, -1 line 0 comments Download

Messages

Total messages: 9 (3 generated)
Andrew T Wilson (Slow)
PTAL
5 years, 10 months ago (2015-02-06 12:24:36 UTC) #2
bartfab (slow)
lgtm https://codereview.chromium.org/885653007/diff/20001/components/policy/core/common/cloud/cloud_policy_client.cc File components/policy/core/common/cloud/cloud_policy_client.cc (right): https://codereview.chromium.org/885653007/diff/20001/components/policy/core/common/cloud/cloud_policy_client.cc#newcode493 components/policy/core/common/cloud/cloud_policy_client.cc:493: for (ScopedVector<DeviceManagementRequestJob>::iterator it = Nit: You can use ...
5 years, 10 months ago (2015-02-06 14:41:01 UTC) #3
Andrew T Wilson (Slow)
https://codereview.chromium.org/885653007/diff/20001/components/policy/core/common/cloud/cloud_policy_client.cc File components/policy/core/common/cloud/cloud_policy_client.cc (right): https://codereview.chromium.org/885653007/diff/20001/components/policy/core/common/cloud/cloud_policy_client.cc#newcode493 components/policy/core/common/cloud/cloud_policy_client.cc:493: for (ScopedVector<DeviceManagementRequestJob>::iterator it = On 2015/02/06 14:41:01, bartfab wrote: ...
5 years, 10 months ago (2015-02-06 18:23:31 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/885653007/40001
5 years, 10 months ago (2015-02-06 18:24:46 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 10 months ago (2015-02-06 19:24:15 UTC) #8
commit-bot: I haz the power
5 years, 10 months ago (2015-02-06 19:25:16 UTC) #9
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/4d7bcd649f45b21838e41a9174568c6db6373786
Cr-Commit-Position: refs/heads/master@{#315084}

Powered by Google App Engine
This is Rietveld 408576698