Index: chrome/browser/profiles/profile_manager.cc |
=================================================================== |
--- chrome/browser/profiles/profile_manager.cc (revision 110703) |
+++ chrome/browser/profiles/profile_manager.cc (working copy) |
@@ -347,7 +347,7 @@ |
} else { |
// Initiate asynchronous creation process. |
ProfileInfo* info = |
- RegisterProfile(Profile::CreateProfileAsync(user_data_dir, this), |
+ RegisterProfile(CreateAsyncProfile(user_data_dir, this), |
false); |
info->observers.push_back(observer); |
} |
@@ -487,6 +487,11 @@ |
return Profile::CreateProfile(path); |
} |
+Profile* ProfileManager::CreateAsyncProfile(const FilePath& path, |
+ Delegate* delegate) { |
+ return Profile::CreateProfileAsync(path, delegate); |
+} |
+ |
void ProfileManager::OnProfileCreated(Profile* profile, bool success) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |