Index: chrome/browser/profiles/profile_impl.h |
diff --git a/chrome/browser/profiles/profile_impl.h b/chrome/browser/profiles/profile_impl.h |
index 0e3ad6b6ba55df6fae7666cb13601c91c76176a9..502d257a9e86bdcd740737a23a83a1f81f10a3e4 100644 |
--- a/chrome/browser/profiles/profile_impl.h |
+++ b/chrome/browser/profiles/profile_impl.h |
@@ -25,10 +25,13 @@ class ExtensionNavigationObserver; |
class ExtensionSystem; |
class NetPrefObserver; |
class PrefService; |
-class PromoResourceService; |
class SSLConfigServiceManager; |
class VisitedLinkEventListener; |
+#if defined(ENABLE_PROMO_RESOURCE_SERVICE) |
+class PromoResourceService; |
+#endif |
+ |
#if defined(OS_CHROMEOS) |
namespace chromeos { |
class EnterpriseExtensionObserver; |
@@ -197,7 +200,11 @@ class ProfileImpl : public Profile, |
extension_special_storage_policy_; |
scoped_ptr<NetPrefObserver> net_pref_observer_; |
scoped_ptr<BookmarkModel> bookmark_bar_model_; |
+ |
+#if defined(ENABLE_PROMO_RESOURCE_SERVICE) |
scoped_refptr<PromoResourceService> promo_resource_service_; |
+#endif |
+ |
scoped_refptr<ProtocolHandlerRegistry> protocol_handler_registry_; |
scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_; |