Index: chrome/browser/search/suggestions/suggestions_service_factory.cc |
diff --git a/chrome/browser/search/suggestions/suggestions_service_factory.cc b/chrome/browser/search/suggestions/suggestions_service_factory.cc |
index ea54cc55cb71ab909e098b79b538c2c4b59ecc8d..305194afe101b988d9fffe3255888fb511dfc0dc 100644 |
--- a/chrome/browser/search/suggestions/suggestions_service_factory.cc |
+++ b/chrome/browser/search/suggestions/suggestions_service_factory.cc |
@@ -7,6 +7,7 @@ |
#include "base/prefs/pref_service.h" |
#include "chrome/browser/profiles/incognito_helpers.h" |
#include "chrome/browser/profiles/profile.h" |
+#include "chrome/browser/search/suggestions/blacklist_store.h" |
#include "chrome/browser/search/suggestions/suggestions_service.h" |
#include "chrome/browser/search/suggestions/suggestions_store.h" |
#include "chrome/common/pref_names.h" |
@@ -47,7 +48,10 @@ KeyedService* SuggestionsServiceFactory::BuildServiceInstanceFor( |
Profile* the_profile = static_cast<Profile*>(profile); |
scoped_ptr<SuggestionsStore> suggestions_store( |
new SuggestionsStore(the_profile->GetPrefs())); |
- return new SuggestionsService(the_profile, suggestions_store.Pass()); |
+ scoped_ptr<BlacklistStore> blacklist_store( |
+ new BlacklistStore(the_profile->GetPrefs())); |
+ return new SuggestionsService(the_profile, suggestions_store.Pass(), |
+ blacklist_store.Pass()); |
} |
void SuggestionsServiceFactory::RegisterProfilePrefs( |