|
[login_manager] Code to add the owner to the whitelist in a device policy
Today, every time the owner logs in, we ensure he is on the whitelist and
that we have him recorded in the signed settings store as the owner.
Add code that can do the same thing for a device policy.
BUG= 13842
TEST=unit tests.
Change-Id: I0073c7b0216879fb021f2319906ffd51bd54233f
Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=ac98340
Total comments: 37
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+330 lines, -136 lines) |
Patch |
 |
M |
Makefile
|
View
|
1
|
1 chunk |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
device_policy.h
|
View
|
1
|
3 chunks |
+17 lines, -1 line |
0 comments
|
Download
|
 |
M |
device_policy.cc
|
View
|
1
|
4 chunks |
+73 lines, -2 lines |
0 comments
|
Download
|
 |
M |
device_policy_unittest.cc
|
View
|
1
|
5 chunks |
+111 lines, -4 lines |
0 comments
|
Download
|
 |
M |
mock_device_policy.h
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
mock_owner_key.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
owner_key.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
owner_key.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
session_manager_service.h
|
View
|
|
2 chunks |
+2 lines, -12 lines |
0 comments
|
Download
|
 |
M |
session_manager_service.cc
|
View
|
|
23 chunks |
+47 lines, -64 lines |
0 comments
|
Download
|
 |
M |
session_manager_unittest.cc
|
View
|
1
|
10 chunks |
+36 lines, -42 lines |
0 comments
|
Download
|
 |
M |
system_utils.h
|
View
|
|
2 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
system_utils.cc
|
View
|
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|