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..60e49e989f0406e0fd4bac11861bb6075972829b 100644 |
--- a/chrome/browser/profiles/profile_manager.h |
+++ b/chrome/browser/profiles/profile_manager.h |
@@ -256,6 +256,10 @@ class ProfileManager : public base::NonThreadSafe, |
// Returns true if the profile was added, false otherwise. |
bool AddProfile(Profile* profile); |
+ // Synchronously creates and returns a profile. This handles both the full |
+ // creation and adds it to the set managed by this ProfileManager. |
+ Profile* CreateAndInitializeProfile(const base::FilePath& profile_dir); |
+ |
// Schedules the profile at the given path to be deleted on shutdown. |
void FinishDeletingProfile(const base::FilePath& profile_dir); |