Index: chrome/browser/profiles/profile_manager.h |
diff --git a/chrome/browser/profiles/profile_manager.h b/chrome/browser/profiles/profile_manager.h |
index c16b6df8736a59c25eccfc0b8a68ef5fd76339b6..2d8bbdf3355090b21562b37772de75020fd82d78 100644 |
--- a/chrome/browser/profiles/profile_manager.h |
+++ b/chrome/browser/profiles/profile_manager.h |
@@ -142,6 +142,13 @@ class ProfileManager : public base::NonThreadSafe, |
// Returns the full path to be used for system profiles. |
static base::FilePath GetSystemProfilePath(); |
+ // Deletes the Profile from memory, removes it from the ProfileInfoCache and |
+ // from the ProfileManager. |
+ // DANGER: Only call this for a Guest Profile. Anything else will likely |
+ // explode and lead to insanity. |
+ // Exercise for the reader: Solve insanity. |
+ void DeleteProfile(Profile* profile); |
+ |
// Get the path of the next profile directory and increment the internal |
// count. |
// Lack of side effects: |