Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1047)

Unified Diff: components/offline_pages/client_policy_controller.cc

Issue 2473953006: Enable downloads UI for NTP-saved pages. (Closed)
Patch Set: Tests now pass. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/offline_pages/client_policy_controller.cc
diff --git a/components/offline_pages/client_policy_controller.cc b/components/offline_pages/client_policy_controller.cc
index 0a2d288101c4aa13ab514bf4ffc7b90ddd5ece17..ae223d400f17db74d0af226de034110df9f7158b 100644
--- a/components/offline_pages/client_policy_controller.cc
+++ b/components/offline_pages/client_policy_controller.cc
@@ -52,6 +52,7 @@ ClientPolicyController::ClientPolicyController() {
OfflinePageClientPolicyBuilder(kNTPSuggestionsNamespace,
LifetimeType::PERSISTENT, kUnlimitedPages,
kUnlimitedPages)
+ .SetIsSupportedByDownload(true)
.Build()));
// Fallback policy.

Powered by Google App Engine
This is Rietveld 408576698