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

Unified Diff: components/ntp_snippets/pref_names.h

Issue 2922543002: [NTP::Push] Add Content Suggestions GCM App Handler (Closed)
Patch Set: Updates to the prefs. Created 3 years, 6 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
Index: components/ntp_snippets/pref_names.h
diff --git a/components/ntp_snippets/pref_names.h b/components/ntp_snippets/pref_names.h
index c640965e9ee1aedf499cd58d65fa999ea16ed2a7..d4bdb508250754379e1b0ab404db18850dcc97bc 100644
--- a/components/ntp_snippets/pref_names.h
+++ b/components/ntp_snippets/pref_names.h
@@ -94,6 +94,10 @@ extern const char kClickBasedCategoryRankerLastDecayTime[];
// news push updates,
extern const char kContentSuggestionsSubscriptionDataToken[];
+// The pref name for the subscription token received from the gcm server. As
+// recommended by the GCM team, it is cached in pref instead of being retrieved
+// over network every time the client subscribe to push updates.
+extern const char kContentSuggestionsGCMSubscriptionTokenCache[];
} // namespace prefs
} // namespace ntp_snippets

Powered by Google App Engine
This is Rietveld 408576698