Commit cbbc00ce authored by antrim@chromium.org's avatar antrim@chromium.org

Do not use empty callback when cleaning up managed users

TBR=nkostylev@chromium.org
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/16104006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202425 0039d316-1c4b-4281-b951-d872f2087c98
parent cbb502ba
...@@ -1418,7 +1418,7 @@ void UserManagerImpl::RollbackLocallyManagedUserCreationTransaction() { ...@@ -1418,7 +1418,7 @@ void UserManagerImpl::RollbackLocallyManagedUserCreationTransaction() {
RemoveNonCryptohomeData(user_id); RemoveNonCryptohomeData(user_id);
cryptohome::AsyncMethodCaller::GetInstance()->AsyncRemove( cryptohome::AsyncMethodCaller::GetInstance()->AsyncRemove(
user_id, base::Callback<void(bool, cryptohome::MountError)>()); user_id, base::Bind(&OnRemoveUserComplete, user_id));
prefs->ClearPref(kLocallyManagedUserCreationTransactionDisplayName); prefs->ClearPref(kLocallyManagedUserCreationTransactionDisplayName);
prefs->ClearPref(kLocallyManagedUserCreationTransactionUserId); prefs->ClearPref(kLocallyManagedUserCreationTransactionUserId);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment