Index: components/offline_pages/core/client_policy_controller.cc |
diff --git a/components/offline_pages/core/client_policy_controller.cc b/components/offline_pages/core/client_policy_controller.cc |
index c2db05186411b5d96974f87364d9400e21f298ce..b3381999e0f3b765a6343d245a9b99297757a6ee 100644 |
--- a/components/offline_pages/core/client_policy_controller.cc |
+++ b/components/offline_pages/core/client_policy_controller.cc |
@@ -54,6 +54,14 @@ ClientPolicyController::ClientPolicyController() { |
kUnlimitedPages) |
.SetIsSupportedByDownload(true) |
.Build())); |
+ policies_.insert(std::make_pair( |
+ kSuggestedArticlesNamespace, |
+ OfflinePageClientPolicyBuilder(kSuggestedArticlesNamespace, |
+ LifetimeType::TEMPORARY, kUnlimitedPages, |
+ kUnlimitedPages) |
+ .SetIsRemovedOnCacheReset(true) |
+ .SetExpirePeriod(base::TimeDelta::FromDays(30)) |
+ .Build())); |
// Fallback policy. |
policies_.insert(std::make_pair( |