Index: chrome/browser/profiles/profile_impl.cc |
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc |
index 966d5b307dc6fa308f02db9cb2485193f4dc98ab..36e24cb81346853aacea9b1fc9952951babe1eec 100644 |
--- a/chrome/browser/profiles/profile_impl.cc |
+++ b/chrome/browser/profiles/profile_impl.cc |
@@ -72,6 +72,7 @@ |
#include "chrome/browser/user_style_sheet_watcher.h" |
#include "chrome/browser/visitedlink/visitedlink_event_listener.h" |
#include "chrome/browser/visitedlink/visitedlink_master.h" |
+#include "chrome/browser/web_resource/promo_resource_service.h" |
#include "chrome/browser/webdata/web_data_service.h" |
#include "chrome/common/chrome_constants.h" |
#include "chrome/common/chrome_notification_types.h" |
@@ -95,10 +96,6 @@ |
#include "chrome/browser/policy/policy_service_stub.h" |
#endif // defined(ENABLE_CONFIGURATION_POLICY) |
-#if defined(ENABLE_PROMO_RESOURCE_SERVICE) |
-#include "chrome/browser/web_resource/promo_resource_service.h" |
-#endif // defined(ENABLE_PROMO_RESOURCE_SERVICE) |
- |
#if defined(OS_WIN) |
#include "chrome/installer/util/install_util.h" |
#endif |
@@ -450,13 +447,10 @@ void ProfileImpl::InitHostZoomMap() { |
} |
void ProfileImpl::InitPromoResources() { |
-#if defined(ENABLE_PROMO_RESOURCE_SERVICE) |
if (promo_resource_service_) |
return; |
- |
promo_resource_service_ = new PromoResourceService(this); |
promo_resource_service_->StartAfterDelay(); |
-#endif |
} |
void ProfileImpl::InitRegisteredProtocolHandlers() { |