Android: Guard off desktop notifications

We currently have no system in place to perform desktop
notifications on Android.  This CL guards off certain bits
of code and prevents the files in browser/notifications/*
from being compiled when notifications are disabled.

BUG=http://crbug.com/115320
TEST=


Review URL: http://codereview.chromium.org/9447034

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124305 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc
index a823f41..9cbfdf6 100644
--- a/chrome/test/base/testing_profile.cc
+++ b/chrome/test/base/testing_profile.cc
@@ -198,9 +198,11 @@
 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() {