Index: chrome/test/testing_profile.cc |
diff --git a/chrome/test/testing_profile.cc b/chrome/test/testing_profile.cc |
index 8433c501e3dc4c9a81939fe61bf516e63feb2f58..4778a9846be69ec82b22ecd7e033a913230f61f5 100644 |
--- a/chrome/test/testing_profile.cc |
+++ b/chrome/test/testing_profile.cc |
@@ -165,6 +165,11 @@ TestingProfile::TestingProfile() |
SessionServiceFactory::GetInstance()->SetTestingFactory(this, NULL); |
TabRestoreServiceFactory::GetInstance()->SetTestingFactory(this, NULL); |
TemplateURLServiceFactory::GetInstance()->SetTestingFactory(this, NULL); |
+ |
+ NotificationService::current()->Notify( |
+ chrome::NOTIFICATION_PROFILE_CREATED, |
+ Source<Profile>(static_cast<Profile*>(this)), |
+ NotificationService::NoDetails()); |
} |
TestingProfile::~TestingProfile() { |