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

Issue 460573005: Pass highest handled invalidation version between invalidators (Closed)

Created:
6 years, 4 months ago by bartfab (slow)
Modified:
6 years, 4 months ago
CC:
chromium-reviews, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Pass highest handled invalidation version between invalidators With this CL, device policy invalidation keeps track of the highest invalidation version that has been handled (= policy has been reloaded for this version already) when one invalidation is destroyed and another created. BUG=358699 TEST=WIP Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289411

Patch Set 1 #

Patch Set 2 : Code and tests done. Ready for review. #

Total comments: 6

Patch Set 3 : Addressed nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+298 lines, -53 lines) Patch
M chrome/browser/chromeos/policy/device_cloud_policy_invalidator.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/policy/device_cloud_policy_invalidator.cc View 2 chunks +9 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/policy/device_cloud_policy_invalidator_unittest.cc View 1 2 22 chunks +143 lines, -38 lines 0 comments Download
M chrome/browser/policy/cloud/cloud_policy_invalidator.h View 1 3 chunks +12 lines, -1 line 0 comments Download
M chrome/browser/policy/cloud/cloud_policy_invalidator.cc View 1 2 4 chunks +29 lines, -2 lines 0 comments Download
M chrome/browser/policy/cloud/cloud_policy_invalidator_unittest.cc View 1 2 22 chunks +99 lines, -8 lines 0 comments Download
M chrome/browser/policy/cloud/user_cloud_policy_invalidator.cc View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
bartfab (slow)
Hi Steve, Tests and comments are still missing but I wanted to send this to ...
6 years, 4 months ago (2014-08-11 17:35:02 UTC) #1
Steve Condie
lgtm
6 years, 4 months ago (2014-08-11 18:10:05 UTC) #2
bartfab (slow)
Hi Joao, Could you take a look please?
6 years, 4 months ago (2014-08-13 10:11:39 UTC) #3
Joao da Silva
lgtm https://codereview.chromium.org/460573005/diff/20001/chrome/browser/chromeos/policy/device_cloud_policy_invalidator.cc File chrome/browser/chromeos/policy/device_cloud_policy_invalidator.cc (right): https://codereview.chromium.org/460573005/diff/20001/chrome/browser/chromeos/policy/device_cloud_policy_invalidator.cc#newcode122 chrome/browser/chromeos/policy/device_cloud_policy_invalidator.cc:122: highest_handled_invalidation_version_(0) { I don't know if invalidation IDs ...
6 years, 4 months ago (2014-08-13 13:01:38 UTC) #4
bartfab (slow)
https://codereview.chromium.org/460573005/diff/20001/chrome/browser/chromeos/policy/device_cloud_policy_invalidator.cc File chrome/browser/chromeos/policy/device_cloud_policy_invalidator.cc (right): https://codereview.chromium.org/460573005/diff/20001/chrome/browser/chromeos/policy/device_cloud_policy_invalidator.cc#newcode122 chrome/browser/chromeos/policy/device_cloud_policy_invalidator.cc:122: highest_handled_invalidation_version_(0) { On 2014/08/13 13:01:38, Joao da Silva wrote: ...
6 years, 4 months ago (2014-08-13 13:37:47 UTC) #5
bartfab (slow)
https://codereview.chromium.org/460573005/diff/20001/chrome/browser/chromeos/policy/device_cloud_policy_invalidator.cc File chrome/browser/chromeos/policy/device_cloud_policy_invalidator.cc (right): https://codereview.chromium.org/460573005/diff/20001/chrome/browser/chromeos/policy/device_cloud_policy_invalidator.cc#newcode122 chrome/browser/chromeos/policy/device_cloud_policy_invalidator.cc:122: highest_handled_invalidation_version_(0) { On 2014/08/13 13:01:38, Joao da Silva wrote: ...
6 years, 4 months ago (2014-08-13 13:37:47 UTC) #6
bartfab (slow)
The CQ bit was checked by bartfab@chromium.org
6 years, 4 months ago (2014-08-13 13:37:50 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bartfab@chromium.org/460573005/40001
6 years, 4 months ago (2014-08-13 13:38:09 UTC) #8
commit-bot: I haz the power
6 years, 4 months ago (2014-08-13 23:15:23 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 (40001) as 289411

Powered by Google App Engine
This is Rietveld 408576698