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

Unified Diff: components/ntp_snippets/switches.cc

Issue 1849743002: [NTP Snippets] Add a flag to not restrict snippets by ML suggestions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment Created 4 years, 9 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 | « components/ntp_snippets/switches.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ntp_snippets/switches.cc
diff --git a/components/ntp_snippets/switches.cc b/components/ntp_snippets/switches.cc
index 48c6ddaf5dadcf9a7a390644ce312719bad35498..4fdbf2bb9fa60428f84aa431400dd9e05777b3c5 100644
--- a/components/ntp_snippets/switches.cc
+++ b/components/ntp_snippets/switches.cc
@@ -14,5 +14,9 @@ const char kFetchingIntervalWifiSeconds[] =
const char kFetchingIntervalFallbackSeconds[] =
"ntp-snippets-fetching-interval-fallback";
+// If this flag is set, the snippets won't be restricted to the user's NTP
+// suggestions.
+const char kDontRestrict[] = "ntp-snippets-dont-restrict";
+
} // namespace switches
} // namespace ntp_snippets
« no previous file with comments | « components/ntp_snippets/switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698