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

Unified Diff: chrome/browser/ui/webui/snippets_internals_message_handler.cc

Issue 2609423002: [NTP::RecentTabs] Enable by default and depend on recent tabs flag. (Closed)
Patch Set: Created 3 years, 11 months 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
« no previous file with comments | « chrome/browser/resources/snippets_internals.html ('k') | components/ntp_snippets/features.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/snippets_internals_message_handler.cc
diff --git a/chrome/browser/ui/webui/snippets_internals_message_handler.cc b/chrome/browser/ui/webui/snippets_internals_message_handler.cc
index 670b9fd922557ef84c2118fe7b089a6b79374c35..0eede3f0090ffe707e5dcb1a0484b831c05add39 100644
--- a/chrome/browser/ui/webui/snippets_internals_message_handler.cc
+++ b/chrome/browser/ui/webui/snippets_internals_message_handler.cc
@@ -31,6 +31,7 @@
#include "components/ntp_snippets/remote/ntp_snippets_fetcher.h"
#include "components/ntp_snippets/remote/remote_suggestions_provider.h"
#include "components/ntp_snippets/switches.h"
+#include "components/offline_pages/core/offline_page_feature.h"
#include "components/prefs/pref_service.h"
#include "content/public/browser/web_ui.h"
@@ -280,6 +281,9 @@ void SnippetsInternalsMessageHandler::SendAllContent() {
SendBoolean("flag-recent-offline-tab-suggestions",
base::FeatureList::IsEnabled(
ntp_snippets::kRecentOfflineTabSuggestionsFeature));
+ SendBoolean("flag-offlining-recent-pages-feature",
+ base::FeatureList::IsEnabled(
+ offline_pages::kOffliningRecentPagesFeature));
SendBoolean(
"flag-asset-download-suggestions",
base::FeatureList::IsEnabled(features::kAssetDownloadSuggestionsFeature));
« no previous file with comments | « chrome/browser/resources/snippets_internals.html ('k') | components/ntp_snippets/features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698