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

Unified Diff: components/ntp_snippets/pref_names.cc

Issue 2549163002: RemoteContentSuggestions: Stores the time of the last successful background fetch in a pref (Closed)
Patch Set: Address comments treib Created 4 years 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/ntp_snippets/pref_names.cc
diff --git a/components/ntp_snippets/pref_names.cc b/components/ntp_snippets/pref_names.cc
index 9b0ff032e9d7b99bcffa595d257248d1175b0897..0fe7edf07b2fb2a3ee9b3f2f9ace79b805096d15 100644
--- a/components/ntp_snippets/pref_names.cc
+++ b/components/ntp_snippets/pref_names.cc
@@ -41,6 +41,9 @@ const char kDismissedForeignSessionsSuggestions[] =
"ntp_suggestions.foreign_sessions.dismissed_ids";
const char kDismissedCategories[] = "ntp_suggestions.dismissed_categories";
+const char kLastSuccessfulBackgroundFetchTime[] =
+ "ntp_suggestions.remote.last_successful_background_fetch_time";
+
const char kUserClassifierAverageNTPOpenedPerHour[] =
"ntp_suggestions.user_classifier.average_ntp_opened_per_hour";
const char kUserClassifierAverageSuggestionsShownPerHour[] =

Powered by Google App Engine
This is Rietveld 408576698