From 6c900e518112ed63338250707510bc5a87a476d4 Mon Sep 17 00:00:00 2001 From: "mnissler@chromium.org" Date: Mon, 18 Apr 2011 11:09:07 +0000 Subject: Add immutable settings checks when handling policy. 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 --- chrome/chrome_tests.gypi | 2 ++ 1 file changed, 2 insertions(+) (limited to 'chrome/chrome_tests.gypi') diff --git a/chrome/chrome_tests.gypi b/chrome/chrome_tests.gypi index 94767c6..3d30545 100644 --- a/chrome/chrome_tests.gypi +++ b/chrome/chrome_tests.gypi @@ -1444,6 +1444,7 @@ 'browser/policy/configuration_policy_store_interface_unittest.cc', 'browser/policy/device_policy_cache_unittest.cc', 'browser/policy/device_token_fetcher_unittest.cc', + 'browser/policy/enterprise_install_attributes_unittest.cc', 'browser/policy/file_based_policy_provider_unittest.cc', 'browser/policy/device_management_backend_mock.cc', 'browser/policy/device_management_backend_mock.h', @@ -1939,6 +1940,7 @@ 'sources/': [ ['exclude', '^browser/chromeos/'], ['exclude', '^browser/policy/device_policy_cache_unittest.cc'], + ['exclude', '^browser/policy/enterprise_install_attributes_unittest.cc' ], ['exclude', '^browser/ui/webui/chromeos/login'], ], }], -- cgit v1.1