summaryrefslogtreecommitdiffstats
path: root/chrome/browser/policy/cloud_policy_controller.h
Commit message (Collapse)AuthorAgeFilesLines
* Added a new states to the CloudPolicyCotroller - STATE_TOKEN_ERROR, ↵pastarmovj@chromium.org2011-03-211-0/+4
| | | | | | | | | | | | | | STATE_TOKEN_UNMANAGED. This STATE_TOKEN_ERROR is entered if the DMServer suffers some form of amnesia and tells us that the device token is unknown just after it gave it to us. In this case we will refetch the token but instead of doing this full steam we will be gracefully backing off with time. Also whenever we get a response that a policy is not present for a device we will accept this an OK state and try to refetch only after the regular policy update interval. BUG=76507 TEST=Change the testserver response of policy fetch request to DEVICE_MANAGEMENT_NOT_SUPPORTED and observe that the server is not DoSed with policy requests. Review URL: http://codereview.chromium.org/6670088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78868 0039d316-1c4b-4281-b951-d872f2087c98
* Update policy backend and testserver for the latest policy protocolgfeher@chromium.org2011-03-011-3/+0
| | | | | | | | | BUG=chromium-os:11253, chromium-os:11254, chromium-os:11255 TEST=DeviceManagementServiceIntegrationTest.WithTestServer Review URL: http://codereview.chromium.org/6537020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76455 0039d316-1c4b-4281-b951-d872f2087c98
* Device policy infrastructurejkummerow@chromium.org2011-02-231-0/+138
This continues the work of http://codereview.chromium.org/6312121/. Description of that CL: This refactors the cloud policy-related code to support device policy that gets associated with the whole browser session. Device policy information will show up in g_browser_process->local_state(). Also, start supporting recommended policy from the cloud. BUG=chromium-os:11259, chromium-os:11257, chromium-os:11256 TEST=Enable device policy by passing --device-policy-cache-dir, claim a device and verify that policy gets downloaded. Review URL: http://codereview.chromium.org/6520008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75732 0039d316-1c4b-4281-b951-d872f2087c98