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 25 matching lines...) Expand all Loading... |
36 | 36 |
37 // The pref name for today's count of requests for article thumbnails, so far. | 37 // The pref name for today's count of requests for article thumbnails, so far. |
38 extern const char kSnippetThumbnailsRequestCount[]; | 38 extern const char kSnippetThumbnailsRequestCount[]; |
39 // The pref name for today's count of interactive requests for article | 39 // The pref name for today's count of interactive requests for article |
40 // thumbnails, so far. | 40 // thumbnails, so far. |
41 extern const char kSnippetThumbnailsInteractiveRequestCount[]; | 41 extern const char kSnippetThumbnailsInteractiveRequestCount[]; |
42 // The pref name for the current day for the counter of requests for article | 42 // The pref name for the current day for the counter of requests for article |
43 // thumbnails. | 43 // thumbnails. |
44 extern const char kSnippetThumbnailsRequestsDay[]; | 44 extern const char kSnippetThumbnailsRequestsDay[]; |
45 | 45 |
| 46 extern const char kDismissedAssetDownloadSuggestions[]; |
46 extern const char kDismissedRecentOfflineTabSuggestions[]; | 47 extern const char kDismissedRecentOfflineTabSuggestions[]; |
47 extern const char kDismissedDownloadSuggestions[]; | 48 extern const char kDismissedOfflinePageDownloadSuggestions[]; |
48 extern const char kDismissedForeignSessionsSuggestions[]; | 49 extern const char kDismissedForeignSessionsSuggestions[]; |
49 | 50 |
50 // The pref name for the time when M54 was first started on the device. | 51 // The pref name for the time when M54 was first started on the device. |
51 extern const char kBookmarksFirstM54Start[]; | 52 extern const char kBookmarksFirstM54Start[]; |
52 | 53 |
53 // The pref name for the discounted average number of browsing sessions per hour | 54 // The pref name for the discounted average number of browsing sessions per hour |
54 // that involve opening a new NTP. | 55 // that involve opening a new NTP. |
55 extern const char kUserClassifierAverageNTPOpenedPerHour[]; | 56 extern const char kUserClassifierAverageNTPOpenedPerHour[]; |
56 // The pref name for the discounted average number of browsing sessions per hour | 57 // The pref name for the discounted average number of browsing sessions per hour |
57 // that involve opening showing the content suggestions. | 58 // that involve opening showing the content suggestions. |
58 extern const char kUserClassifierAverageSuggestionsShownPerHour[]; | 59 extern const char kUserClassifierAverageSuggestionsShownPerHour[]; |
59 // The pref name for the discounted average number of browsing sessions per hour | 60 // The pref name for the discounted average number of browsing sessions per hour |
60 // that involve using content suggestions (i.e. opening one or clicking on the | 61 // that involve using content suggestions (i.e. opening one or clicking on the |
61 // "More" button). | 62 // "More" button). |
62 extern const char kUserClassifierAverageSuggestionsUsedPerHour[]; | 63 extern const char kUserClassifierAverageSuggestionsUsedPerHour[]; |
63 | 64 |
64 // The pref name for the last time a new NTP was opened. | 65 // The pref name for the last time a new NTP was opened. |
65 extern const char kUserClassifierLastTimeToOpenNTP[]; | 66 extern const char kUserClassifierLastTimeToOpenNTP[]; |
66 // The pref name for the last time content suggestions were shown to the user. | 67 // The pref name for the last time content suggestions were shown to the user. |
67 extern const char kUserClassifierLastTimeToShowSuggestions[]; | 68 extern const char kUserClassifierLastTimeToShowSuggestions[]; |
68 // The pref name for the last time content suggestions were used by the user. | 69 // The pref name for the last time content suggestions were used by the user. |
69 extern const char kUserClassifierLastTimeToUseSuggestions[]; | 70 extern const char kUserClassifierLastTimeToUseSuggestions[]; |
70 | 71 |
71 } // namespace prefs | 72 } // namespace prefs |
72 } // namespace ntp_snippets | 73 } // namespace ntp_snippets |
73 | 74 |
74 #endif // COMPONENTS_NTP_SNIPPETS_PREF_NAMES_H_ | 75 #endif // COMPONENTS_NTP_SNIPPETS_PREF_NAMES_H_ |
OLD | NEW |