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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_NTP_SNIPPETS_PREF_NAMES_H_ 5 #ifndef COMPONENTS_NTP_SNIPPETS_PREF_NAMES_H_
6 #define COMPONENTS_NTP_SNIPPETS_PREF_NAMES_H_ 6 #define COMPONENTS_NTP_SNIPPETS_PREF_NAMES_H_
7 7
8 namespace ntp_snippets { 8 namespace ntp_snippets {
9 namespace prefs { 9 namespace prefs {
10 10
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 87
88 // The pref name for the current order of categories and their clicks. 88 // The pref name for the current order of categories and their clicks.
89 extern const char kClickBasedCategoryRankerOrderWithClicks[]; 89 extern const char kClickBasedCategoryRankerOrderWithClicks[];
90 // The pref name for the time when last click decay has happened. 90 // The pref name for the time when last click decay has happened.
91 extern const char kClickBasedCategoryRankerLastDecayTime[]; 91 extern const char kClickBasedCategoryRankerLastDecayTime[];
92 92
93 // The pref name for the subscription token used when subscription for breaking 93 // The pref name for the subscription token used when subscription for breaking
94 // news push updates, 94 // news push updates,
95 extern const char kContentSuggestionsSubscriptionDataToken[]; 95 extern const char kContentSuggestionsSubscriptionDataToken[];
96 96
97 // The pref name for the subscription token received from the gcm server. As
98 // recommended by the GCM team, it is cached in pref instead of being retrieved
99 // over network every time the client subscribe to push updates.
100 extern const char kContentSuggestionsGCMSubscriptionTokenCache[];
97 } // namespace prefs 101 } // namespace prefs
98 } // namespace ntp_snippets 102 } // namespace ntp_snippets
99 103
100 #endif // COMPONENTS_NTP_SNIPPETS_PREF_NAMES_H_ 104 #endif // COMPONENTS_NTP_SNIPPETS_PREF_NAMES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698