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 17 matching lines...) Expand all Loading... |
28 // The pref name for the current day for the counter of requests for article | 28 // The pref name for the current day for the counter of requests for article |
29 // thumbnails. | 29 // thumbnails. |
30 extern const char kSnippetThumbnailsRequestsDay[]; | 30 extern const char kSnippetThumbnailsRequestsDay[]; |
31 | 31 |
32 extern const char kDismissedRecentOfflineTabSuggestions[]; | 32 extern const char kDismissedRecentOfflineTabSuggestions[]; |
33 extern const char kDismissedDownloadSuggestions[]; | 33 extern const char kDismissedDownloadSuggestions[]; |
34 | 34 |
35 // The pref name for the time when M54 was first started on the device. | 35 // The pref name for the time when M54 was first started on the device. |
36 extern const char kBookmarksFirstM54Start[]; | 36 extern const char kBookmarksFirstM54Start[]; |
37 | 37 |
| 38 // The pref name for the discounted average number of hours between opening a |
| 39 // new NTP. |
| 40 extern const char kUserClassifierAverageHoursToOpenNTP[]; |
| 41 // The pref name for the discounted average number of hours between showing |
| 42 // content suggestions. |
| 43 extern const char kUserClassifierAverageHoursToShowSuggestions[]; |
| 44 // The pref name for the discounted average number of hours between using |
| 45 // content suggestions (i.e. opening one or clicking on the "More" button). |
| 46 extern const char kUserClassifierAverageHoursToUseSuggestions[]; |
| 47 |
| 48 // The pref name for the last time a new NTP was opened. |
| 49 extern const char kUserClassifierLastTimeToOpenNTP[]; |
| 50 // The pref name for the last time content suggestions were shown to the user. |
| 51 extern const char kUserClassifierLastTimeToShowSuggestions[]; |
| 52 // The pref name for the last time content suggestions were used by the user. |
| 53 extern const char kUserClassifierLastTimeToUseSuggestions[]; |
| 54 |
38 } // namespace prefs | 55 } // namespace prefs |
39 } // namespace ntp_snippets | 56 } // namespace ntp_snippets |
40 | 57 |
41 #endif // COMPONENTS_NTP_SNIPPETS_PREF_NAMES_H_ | 58 #endif // COMPONENTS_NTP_SNIPPETS_PREF_NAMES_H_ |
OLD | NEW |