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

Unified Diff: components/offline_pages/client_policy_controller.cc

Issue 2481343003: Enable downloads UI for NTP-saved pages. (Closed)
Patch Set: 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 d66193350808e2f1baa03d228115013afa20eb3b..e8742df441e2f86b1b423ac3646fbb0a5e5569c0 100644
--- a/components/offline_pages/client_policy_controller.cc
+++ b/components/offline_pages/client_policy_controller.cc
@@ -47,6 +47,7 @@ ClientPolicyController::ClientPolicyController() {
OfflinePageClientPolicyBuilder(kNTPSuggestionsNamespace,
LifetimeType::PERSISTENT, kUnlimitedPages,
kUnlimitedPages)
+ .SetIsSupportedByDownload(true)
.Build()));
// Fallback policy.

Powered by Google App Engine
This is Rietveld 408576698