Index: chrome/browser/profiles/profile_dependency_manager.h |
diff --git a/chrome/browser/profiles/profile_dependency_manager.h b/chrome/browser/profiles/profile_dependency_manager.h |
index b477bb7ec01daf4cbd5ad59372489b75b616e08e..6baf828db9afe7d5a2d6450af78d562a0048b13a 100644 |
--- a/chrome/browser/profiles/profile_dependency_manager.h |
+++ b/chrome/browser/profiles/profile_dependency_manager.h |
@@ -31,6 +31,10 @@ class ProfileDependencyManager { |
void AddEdge(ProfileKeyedServiceFactory* depended, |
ProfileKeyedServiceFactory* dependee); |
+ // Called by each Profile to alert us of its creation. Several services |
+ // require configurations |
Miranda Callahan
2011/07/20 20:53:09
nit: this comment kind of trails off; do you want
|
+ void CreateProfileServices(Profile* profile, bool is_testing_profile); |
+ |
// Called by each Profile to alert us that we should destroy services |
// associated with it. |
// |
@@ -44,11 +48,6 @@ class ProfileDependencyManager { |
void DestroyProfileServices(Profile* profile); |
#ifndef NDEBUG |
- // Unmark |profile| as dead. This exists because of unit tests, which will |
- // often have similar stack structures. 0xWhatever might be created, go out |
- // of scope, and then a new Profile object might be created at 0xWhatever. |
- void ProfileNowExists(Profile* profile); |
- |
// Debugging assertion called as part of GetServiceForProfile in debug |
// mode. This will NOTREACHED() whenever the user is trying to access a stale |
// Profile*. |