| Index: chrome/test/base/testing_profile.cc
|
| diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc
|
| index a823f4191e1eed7c7356e71dbc65d4eb6945d48f..9cbfdf61770df2a307ba4ac655e1ef83984e5a7a 100644
|
| --- a/chrome/test/base/testing_profile.cc
|
| +++ b/chrome/test/base/testing_profile.cc
|
| @@ -198,9 +198,11 @@ TestingProfile::TestingProfile(const FilePath& path,
|
| void TestingProfile::Init() {
|
| profile_dependency_manager_->CreateProfileServices(this, true);
|
|
|
| +#if defined(ENABLE_NOTIFICATIONS)
|
| // Install profile keyed service factory hooks for dummy/test services
|
| DesktopNotificationServiceFactory::GetInstance()->SetTestingFactory(
|
| this, CreateTestDesktopNotificationService);
|
| +#endif
|
| }
|
|
|
| void TestingProfile::FinishInit() {
|
|
|