Chromium Code Reviews| 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) |
|
carlosk
2017/04/18 00:36:09
Shouldn't the limit of pages per URL be 1?
dewittj
2017/04/18 18:20:25
I don't think we should enforce this here. I thin
carlosk
2017/04/18 20:17:22
OK. We can change this later on should we decide t
|
| + .SetIsRemovedOnCacheReset(true) |
| + .SetExpirePeriod(base::TimeDelta::FromDays(30)) |
| + .Build())); |
| // Fallback policy. |
| policies_.insert(std::make_pair( |