|
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
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=81932
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+443 lines, -133 lines) |
Patch |
![](/static/closedtriangle.gif) |
M |
chrome/browser/chromeos/cros/cryptohome_library.cc
|
View
|
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
chrome/browser/chromeos/login/enterprise_enrollment_screen.cc
|
View
|
1
2
|
2 chunks |
+26 lines, -72 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
chrome/browser/policy/browser_policy_connector.h
|
View
|
|
3 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
chrome/browser/policy/browser_policy_connector.cc
|
View
|
|
3 chunks |
+19 lines, -13 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
chrome/browser/policy/device_policy_cache.h
|
View
|
|
4 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
chrome/browser/policy/device_policy_cache.cc
|
View
|
1
2
|
4 chunks |
+33 lines, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
chrome/browser/policy/device_policy_cache_unittest.cc
|
View
|
|
5 chunks |
+100 lines, -36 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
A |
chrome/browser/policy/enterprise_install_attributes.h
|
View
|
|
1 chunk |
+65 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
A |
chrome/browser/policy/enterprise_install_attributes.cc
|
View
|
1
|
1 chunk |
+112 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
A |
chrome/browser/policy/enterprise_install_attributes_unittest.cc
|
View
|
1
|
1 chunk |
+55 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
chrome/browser/policy/proto/device_management_backend.proto
|
View
|
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
chrome/chrome_browser.gypi
|
View
|
1
2
|
2 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
chrome/chrome_tests.gypi
|
View
|
1
2
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|