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

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

Issue 15198005: Remove data belonging to a public account when the account is removed (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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 | chrome/browser/chromeos/login/user_manager_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/user_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698