| Index: chrome/browser/prefs/browser_prefs.cc
|
| diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc
|
| index d481adf4ca2d1e8a2fd745cec85d5b6faaa1918b..3ae29ffbc49ae8068f0665d184f729b7873c8265 100644
|
| --- a/chrome/browser/prefs/browser_prefs.cc
|
| +++ b/chrome/browser/prefs/browser_prefs.cc
|
| @@ -86,6 +86,7 @@
|
| #include "components/ntp_snippets/sessions/foreign_sessions_suggestions_provider.h"
|
| #include "components/ntp_snippets/user_classifier.h"
|
| #include "components/ntp_tiles/most_visited_sites.h"
|
| +#include "components/offline_pages/features/features.h"
|
| #include "components/omnibox/browser/zero_suggest_provider.h"
|
| #include "components/password_manager/core/browser/password_bubble_experiment.h"
|
| #include "components/password_manager/core/browser/password_manager.h"
|
| @@ -143,6 +144,10 @@
|
| #include "extensions/browser/extension_prefs.h"
|
| #endif // BUILDFLAG(ENABLE_EXTENSIONS)
|
|
|
| +#if BUILDFLAG(ENABLE_OFFLINE_PAGES)
|
| +#include "chrome/browser/android/offline_pages/prefetch/prefetch_background_task.h"
|
| +#endif
|
| +
|
| #if BUILDFLAG(ENABLE_PLUGINS)
|
| #include "chrome/browser/plugins/plugins_resource_service.h"
|
| #endif
|
| @@ -678,6 +683,10 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
|
| #endif
|
|
|
| registry->RegisterDictionaryPref(kDistroDict);
|
| +
|
| +#if BUILDFLAG(ENABLE_OFFLINE_PAGES)
|
| + offline_pages::RegisterPrefetchBackgroundTaskPrefs(registry);
|
| +#endif
|
| }
|
|
|
| void RegisterUserProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
|
|
|