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

Issue 2159223002: Fixed cloud policy refresh API to return correct value. (Closed)

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

Description

Fixed cloud policy refresh API to return correct value. Removed CloudPolicyRefreshScheduler::refresh_delay() because it returned a value that was not the actual value used in practice. Replaced with GetRefreshDelay() which returns the actual value that is used by the refresh scheduler. BUG=628991 TBR=xiyuan Committed: https://crrev.com/de68c7646f3169421b1d2ae201ecdce0c459dc6f Cr-Commit-Position: refs/heads/master@{#408430}

Patch Set 1 #

Patch Set 2 : Added more tests. #

Total comments: 1

Patch Set 3 : review feedback #

Messages

Total messages: 30 (17 generated)
Andrew T Wilson (Slow)
PTAL
4 years, 5 months ago (2016-07-19 14:54:57 UTC) #6
Andrew T Wilson (Slow)
PTAL
4 years, 5 months ago (2016-07-19 14:54:57 UTC) #8
emaxx
https://codereview.chromium.org/2159223002/diff/20001/components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc File components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc (right): https://codereview.chromium.org/2159223002/diff/20001/components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc#newcode88 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc:88: int64_t CloudPolicyRefreshScheduler::GetRefreshDelay() const { It looks a bit strange ...
4 years, 5 months ago (2016-07-20 12:45:55 UTC) #9
Andrew T Wilson (Slow)
On 2016/07/20 12:45:55, emaxx wrote: > https://codereview.chromium.org/2159223002/diff/20001/components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc > File components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc > (right): > > https://codereview.chromium.org/2159223002/diff/20001/components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc#newcode88 ...
4 years, 5 months ago (2016-07-20 16:34:00 UTC) #10
emaxx
On 2016/07/20 16:34:00, Andrew T Wilson (Slow) wrote: > On 2016/07/20 12:45:55, emaxx wrote: > ...
4 years, 5 months ago (2016-07-20 16:36:09 UTC) #11
Andrew T Wilson (Slow)
emaxx: PTAL
4 years, 4 months ago (2016-07-26 14:45:40 UTC) #12
emaxx
lgtm
4 years, 4 months ago (2016-07-26 16:25:01 UTC) #17
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/2159223002/40001
4 years, 4 months ago (2016-07-28 13:51:52 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/226988)
4 years, 4 months ago (2016-07-28 13:57:14 UTC) #21
Andrew T Wilson (Slow)
Adding xiyuan as TBR due to change to policy_ui_handler.cc (renamed function called from that file)
4 years, 4 months ago (2016-07-28 17:40:26 UTC) #24
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/2159223002/40001
4 years, 4 months ago (2016-07-28 17:40:50 UTC) #26
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-07-28 17:45:26 UTC) #28
commit-bot: I haz the power
4 years, 4 months ago (2016-07-28 17:47:04 UTC) #30
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/de68c7646f3169421b1d2ae201ecdce0c459dc6f
Cr-Commit-Position: refs/heads/master@{#408430}

Powered by Google App Engine
This is Rietveld 408576698