Index: chrome/browser/invalidation/invalidation_service_factory.cc |
diff --git a/chrome/browser/invalidation/invalidation_service_factory.cc b/chrome/browser/invalidation/invalidation_service_factory.cc |
index 741e6fb216b93b8049db569ec3528a55da1b0cf8..9daa7163fd2de03d20e96f2befd793f81114f853 100644 |
--- a/chrome/browser/invalidation/invalidation_service_factory.cc |
+++ b/chrome/browser/invalidation/invalidation_service_factory.cc |
@@ -20,6 +20,10 @@ |
#include "chrome/browser/signin/token_service_factory.h" |
#include "components/browser_context_keyed_service/browser_context_dependency_manager.h" |
+#if defined(OS_ANDROID) |
+#include "chrome/browser/invalidation/invalidation_controller_android.h" |
+#endif // defined(OS_ANDROID) |
+ |
class TokenService; |
namespace invalidation { |
@@ -86,7 +90,9 @@ BrowserContextKeyedService* InvalidationServiceFactory::BuildServiceInstanceFor( |
} |
#if defined(OS_ANDROID) |
- InvalidationServiceAndroid* service = new InvalidationServiceAndroid(profile); |
+ InvalidationServiceAndroid* service = new InvalidationServiceAndroid( |
+ profile, |
+ new InvalidationControllerAndroid()); |
return service; |
#else |
SigninManagerBase* signin_manager = |