Index: chrome/test/base/testing_profile.cc |
=================================================================== |
--- chrome/test/base/testing_profile.cc (revision 113375) |
+++ chrome/test/base/testing_profile.cc (working copy) |
@@ -204,6 +204,7 @@ |
} |
void TestingProfile::FinishInit() { |
+ DCHECK(content::NotificationService::current()); |
content::NotificationService::current()->Notify( |
chrome::NOTIFICATION_PROFILE_CREATED, |
content::Source<Profile>(static_cast<Profile*>(this)), |
@@ -214,6 +215,7 @@ |
} |
TestingProfile::~TestingProfile() { |
+ DCHECK(content::NotificationService::current()); |
content::NotificationService::current()->Notify( |
chrome::NOTIFICATION_PROFILE_DESTROYED, |
content::Source<Profile>(static_cast<Profile*>(this)), |