summaryrefslogtreecommitdiffstats
path: root/chrome/chrome_tests.gypi
diff options
context:
space:
mode:
authormnissler@chromium.org <mnissler@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-18 11:09:07 +0000
committermnissler@chromium.org <mnissler@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-18 11:09:07 +0000
commit6c900e518112ed63338250707510bc5a87a476d4 (patch)
treefdc2464b229cbdd15fcda1d479925d45fdda615a /chrome/chrome_tests.gypi
parent0ea4fc7dcb594a37ecc7cb9810438d8c695ac67d (diff)
downloadchromium_src-6c900e518112ed63338250707510bc5a87a476d4.zip
chromium_src-6c900e518112ed63338250707510bc5a87a476d4.tar.gz
chromium_src-6c900e518112ed63338250707510bc5a87a476d4.tar.bz2
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
Diffstat (limited to 'chrome/chrome_tests.gypi')
-rw-r--r--chrome/chrome_tests.gypi2
1 files changed, 2 insertions, 0 deletions
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'],
],
}],