Index: chrome/browser/chromeos/login/user_manager_impl.h |
diff --git a/chrome/browser/chromeos/login/user_manager_impl.h b/chrome/browser/chromeos/login/user_manager_impl.h |
index 6c04dabd2cf971c21cfc71b5dfe88e7437c985e9..1eea1e32dc32cda857f43b24a848d4bbe91d337b 100644 |
--- a/chrome/browser/chromeos/login/user_manager_impl.h |
+++ b/chrome/browser/chromeos/login/user_manager_impl.h |
@@ -7,6 +7,7 @@ |
#include <map> |
#include <string> |
+#include <vector> |
#include "base/basictypes.h" |
#include "base/memory/scoped_ptr.h" |
@@ -216,6 +217,13 @@ class UserManagerImpl |
// Also removes the user from the persistent user list. |
User* RemoveRegularOrLocallyManagedUserFromList(const std::string& username); |
+ // Removes data belonging to public accounts that are no longer found on the |
+ // user list. If the user is currently logged into one of these accounts, the |
+ // data for that account is not removed immediately but marked as pending |
+ // removal after logout. |
+ void CleanUpPublicAccountNonCryptohomeData( |
+ const std::vector<std::string>& old_public_accounts); |
+ |
// Replaces the list of public accounts with |public_accounts|. Ensures that |
// data belonging to accounts no longer on the list is removed. Returns |true| |
// if the list has changed. |