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

Issue 6079012: Allow policy refresh rate to be configured through policy. (Closed)

Created:
9 years, 11 months ago by Mattias Nissler (ping if slow)
Modified:
9 years, 7 months ago
CC:
chromium-reviews, Paweł Hajdan Jr.
Visibility:
Public.

Description

Allow policy refresh rate to be configured through policy. BUG=64877 TEST=Existing unittests; manual testing. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=71656

Patch Set 1 #

Patch Set 2 : Fix windows build. #

Total comments: 18

Patch Set 3 : Address comments. #

Patch Set 4 : Rebase, fix unit test. #

Patch Set 5 : Rebase. #

Patch Set 6 : Back to InSequence declarations with scoping #

Unified diffs Side-by-side diffs Delta from patch set Stats (+487 lines, -272 lines) Patch
M chrome/app/policy/policy_templates.json View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/browser/policy/config_dir_policy_provider_unittest.cc View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/policy/configuration_policy_pref_store.cc View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/policy/configuration_policy_pref_store_unittest.cc View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/policy/configuration_policy_provider.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/policy/configuration_policy_provider_mac_unittest.cc View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/policy/configuration_policy_provider_win_unittest.cc View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/policy/configuration_policy_store_interface.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/policy/device_management_policy_provider.h View 1 2 8 chunks +43 lines, -20 lines 0 comments Download
M chrome/browser/policy/device_management_policy_provider.cc View 1 2 7 chunks +194 lines, -166 lines 0 comments Download
M chrome/browser/policy/device_management_policy_provider_unittest.cc View 1 2 3 4 5 8 chunks +108 lines, -75 lines 0 comments Download
M chrome/browser/policy/device_token_fetcher.cc View 2 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/policy/device_token_fetcher_unittest.cc View 1 2 3 1 chunk +24 lines, -0 lines 0 comments Download
M chrome/browser/policy/profile_policy_context.h View 3 chunks +20 lines, -1 line 0 comments Download
M chrome/browser/policy/profile_policy_context.cc View 3 chunks +44 lines, -0 lines 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 1 2 3 4 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/common/policy_constants.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/policy_constants.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Mattias Nissler (ping if slow)
Please review. Note that I changed the internals of DeviceManagementPolicyProvider to work more like a ...
9 years, 11 months ago (2011-01-05 19:54:24 UTC) #1
danno
The state machine seems generally OK, although seem my comments for one spot where it ...
9 years, 11 months ago (2011-01-06 19:16:26 UTC) #2
danno
a few more... http://codereview.chromium.org/6079012/diff/3001/chrome/browser/policy/device_token_fetcher.cc File chrome/browser/policy/device_token_fetcher.cc (right): http://codereview.chromium.org/6079012/diff/3001/chrome/browser/policy/device_token_fetcher.cc#newcode68 chrome/browser/policy/device_token_fetcher.cc:68: RemoveAll(); It's not obvious to me ...
9 years, 11 months ago (2011-01-06 19:19:49 UTC) #3
Jakob Kummerow
For the record, I'm fine with the state machine changes. I don't think it has ...
9 years, 11 months ago (2011-01-07 09:48:51 UTC) #4
Mattias Nissler (ping if slow)
Here's an updated version that addresses your comments. Note that the template generator is unable ...
9 years, 11 months ago (2011-01-07 11:15:33 UTC) #5
Mattias Nissler (ping if slow)
Can you do another review pass? Thanks.
9 years, 11 months ago (2011-01-17 14:05:27 UTC) #6
danno
9 years, 11 months ago (2011-01-18 10:07:11 UTC) #7
LGTM, possible changing the InSequence usage in tests as discussed if possible.

Powered by Google App Engine
This is Rietveld 408576698