DescriptionComb up ownership things.
Current codebase contains race in using UserManager::current_user_is_owner() method.
UserManager checks ownership asynchronously, so there is lapse of time when owner is logged in
but UserManager::current_user_is_owner() returns false.
In this CL this race is fixed for purpose of setting kOwnerLocale.
Also: shorten lapse of time during which UserManager::current_user_is_owner() returns false for owner session:
do this by making multi-threaded access to variable instead of posting another Task to message queue.
Also: in r75988 http://codereview.chromium.org/6538098 OWNERSHIP_TAKEN notification
was removed but observers of this notification were left as is. Fix it, convert observers to another notification.
BUG=chromium-os:11212
TEST=Manual
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=78353
Patch Set 1 : d #
Total comments: 6
Patch Set 2 : c #
Messages
Total messages: 7 (0 generated)
|