| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
way we can enforce that internal content headers don't leak to embedders.
BUG=98716
TBR=phajdan.jr
Review URL: https://chromiumcodereview.appspot.com/10500016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140254 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Only call SetFetchingDone() (which fires observers) once the policy
store/reload cycle completes.
BUG=chromium-os:28804
TEST=Change device policy configuration. Hit reload on chrome://policy. Make sure the first reload results in the page being updated.
Review URL: http://codereview.chromium.org/9963063
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130377 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
stateful partition.
BUG=chromium-os:27251
TEST=Enroll a device. Flip the dev switch back and forth. The device should stop issuing device policy fetches every second.
Review URL: http://codereview.chromium.org/9599009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124966 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in the lockbox.
Propagates the registration mode through the policy subsystem and lock it down in the lockbox.
Provides interface to query the values using the EnterpriseInstallAttributes class.
BUG=chromium-os:26246
TEST=unit_tests: *Enterprise*,*Policy*
Review URL: https://chromiumcodereview.appspot.com/9403010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123471 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PolicyMap was strongly coupled to specific Chrome policies, through the
ConfigurationPolicyType. That enum has been removed and replaced by
strings.
Also introduced new PolicyMap-related enums: PolicyScope and PolicyLevel.
Started removing mandatory/recommended policy_maps around. Currently there
are still mandatory/recommended providers, but that'll go away after this.
TBR=jhawkins@chromium.org
BUG=108993
TEST=All works as before
Review URL: https://chromiumcodereview.appspot.com/9111022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118648 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mechanical changes only.
BUG=None
TEST=Compiles and passes tests.
Review URL: http://codereview.chromium.org/9068002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116104 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Read from the bottom to the top:
* Add new unit tests to cover what was removed before.
* Rename SignedSettingsTempStorage to SignedSettingsCache.
* Revitalize existing tests for SignedSettings[Helper].
* Add the needed infrastucture to support enrollment as well.
* Remove the second cache in OwnershipService it is obsolete.
* Remove the prop ops completely.
* Remove direct prop op from the proxy stuff.
* Serialize policy changes correctly and map side effects of policies.
Mainly make sure we never serialize dirty policy.
Don't reload if policy is serialized fine.
Clear local state registration.
* Clean up redundand SS ops and make proper callbacks for the helper
Move the temp storage finalization to where it belongs.
* Make the temp storage be the cache and use policy ops.
* Make DeviceSettingsProvider work with the protobuf blob directly.
* Merged DeviceSettingsProvider and UserCrosSettingsTrust.
* Rename UserCrosSettingsProvider to DeviceSettingsProvider.
* Extract the SignedSettingsMigrationHelper in its own file.
BUG=chromium-os:14054
TEST=unit_tests:SignedSettings*,*CrosSettings*,suite_Smoke:login_OwnershipApi
Review URL: http://codereview.chromium.org/8727037
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112713 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=None
TEST=compiles and passes tests.
Review URL: http://codereview.chromium.org/8382005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107124 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=19411
TEST=None
Review URL: http://codereview.chromium.org/8144005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104310 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=None
TEST=Everything works as before, compiles cleanly
Review URL: http://codereview.chromium.org/7941008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102100 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the test suite implicitly provides global resources for each test,
but they're re-initialized between each test.
The performance overhead is negligible.
We need that to continue moving tests from unit_tests
to content_unittests. Because of shared test fixtures
the test suites need to be compatible.
BUG=90443
Review URL: http://codereview.chromium.org/7744039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98526 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For a detailed description see part #1, http://codereview.chromium.org/6478005/
This CL fixes the bug fully on Linux. More platforms will follow.
BUG=61062
TEST=unit_tests, possibly more
Review URL: http://codereview.chromium.org/7628006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96638 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=None
TEST=None
R=evan@chromium.org
Review URL: http://codereview.chromium.org/7619006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96400 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=chromium-os:14002
TEST=unit_tests:EnterpriseMetricsTest,browser_tests:EnterpriseMetricsBrowserTest (chromeos only)
Review URL: http://codereview.chromium.org/7345010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93383 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Get rid of identity strategies and create a central in-memory data store and notification hub, which is more simple. It's called CloudPolicyDataStore.
BUG=chromium-os:17309
TEST=user and device policies work exactly as before
Review URL: http://codereview.chromium.org/7298012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91957 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
refresh rate.
This is an effort towards removing dependencies of the ProfilePolicyConnector on Profile.
BUG=none
TEST=Verify that user- and device-refresh rate are set correctly when specified by policy.
Review URL: http://codereview.chromium.org/7014036
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88003 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/6876002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81943 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=None
TEST=No DevicePolicyCacheTest-related valgrind reports
Review URL: http://codereview.chromium.org/6878014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81938 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When receiving device policy from the server, make sure that the device
is an enterprise device and the policy information is meant for the user
who registered the device. While at it, move all the enterprise-related
install attributes checking to a helper.
BUG=chromium-os:14197
TEST=unit tests
Review URL: http://codereview.chromium.org/6869042
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81932 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=chromium-os:13277
TEST=Existing unit tests
Review URL: http://codereview.chromium.org/6794022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81088 0039d316-1c4b-4281-b951-d872f2087c98
|
|
And also read policy back from session_manager into CloudPolicyCache, but there are no consumers of those values yet.
BUG=chromium-os:11258
TEST=UserPolicyCacheTest.*; DevicePolicyCacheTest.*
Review URL: http://codereview.chromium.org/6705031
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79677 0039d316-1c4b-4281-b951-d872f2087c98
|