Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4434)

Unified Diff: chrome/browser/chromeos/login/user_manager_impl.cc

Issue 16104006: Do not use empty callback when cleaning up managed users (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/user_manager_impl.cc
diff --git a/chrome/browser/chromeos/login/user_manager_impl.cc b/chrome/browser/chromeos/login/user_manager_impl.cc
index b82a92c992a559db6f825227f2bebac0fa01caf8..7f1d22a6bde2e44e27ec7ca19ac57053ff5dbb6b 100644
--- a/chrome/browser/chromeos/login/user_manager_impl.cc
+++ b/chrome/browser/chromeos/login/user_manager_impl.cc
@@ -1418,7 +1418,7 @@ void UserManagerImpl::RollbackLocallyManagedUserCreationTransaction() {
RemoveNonCryptohomeData(user_id);
cryptohome::AsyncMethodCaller::GetInstance()->AsyncRemove(
- user_id, base::Callback<void(bool, cryptohome::MountError)>());
+ user_id, base::Bind(&OnRemoveUserComplete, user_id));
prefs->ClearPref(kLocallyManagedUserCreationTransactionDisplayName);
prefs->ClearPref(kLocallyManagedUserCreationTransactionUserId);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698