| Index: chrome/browser/history/top_sites_factory.cc
|
| diff --git a/chrome/browser/history/top_sites_factory.cc b/chrome/browser/history/top_sites_factory.cc
|
| index 0c56d8c88dbc06b484b32a1dd1d2e834232df0a3..114d9c913c2f62e4d6c8ecec7cc3c68fb23279b8 100644
|
| --- a/chrome/browser/history/top_sites_factory.cc
|
| +++ b/chrome/browser/history/top_sites_factory.cc
|
| @@ -17,6 +17,7 @@
|
| #include "components/history/core/browser/history_constants.h"
|
| #include "components/history/core/browser/top_sites_impl.h"
|
| #include "components/keyed_service/content/browser_context_dependency_manager.h"
|
| +#include "components/pref_registry/pref_registry_syncable.h"
|
| #include "content/public/browser/browser_thread.h"
|
| #include "grit/theme_resources.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
| @@ -115,6 +116,11 @@ scoped_refptr<RefcountedKeyedService> TopSitesFactory::BuildServiceInstanceFor(
|
| return BuildTopSites(context, prepopulated_pages);
|
| }
|
|
|
| +void TopSitesFactory::RegisterProfilePrefs(
|
| + user_prefs::PrefRegistrySyncable* registry) {
|
| + registry->RegisterDictionaryPref(prefs::kNtpMostVisitedURLsBlacklist);
|
| +}
|
| +
|
| bool TopSitesFactory::ServiceIsNULLWhileTesting() const {
|
| return true;
|
| }
|
|
|