OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |