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 26 matching lines...) Expand all Loading... |
37 // thumbnails, so far. | 37 // thumbnails, so far. |
38 extern const char kSnippetThumbnailsInteractiveRequestCount[]; | 38 extern const char kSnippetThumbnailsInteractiveRequestCount[]; |
39 // The pref name for the current day for the counter of requests for article | 39 // The pref name for the current day for the counter of requests for article |
40 // thumbnails. | 40 // thumbnails. |
41 extern const char kSnippetThumbnailsRequestsDay[]; | 41 extern const char kSnippetThumbnailsRequestsDay[]; |
42 | 42 |
43 // The pref name for the time of the last successful background fetch. | 43 // The pref name for the time of the last successful background fetch. |
44 extern const char kLastSuccessfulBackgroundFetchTime[]; | 44 extern const char kLastSuccessfulBackgroundFetchTime[]; |
45 | 45 |
46 extern const char kDismissedAssetDownloadSuggestions[]; | 46 extern const char kDismissedAssetDownloadSuggestions[]; |
| 47 extern const char kDismissedForeignSessionsSuggestions[]; |
| 48 extern const char kDismissedOfflinePageDownloadSuggestions[]; |
| 49 extern const char kDismissedPhysicalWebPageSuggestions[]; |
47 extern const char kDismissedRecentOfflineTabSuggestions[]; | 50 extern const char kDismissedRecentOfflineTabSuggestions[]; |
48 extern const char kDismissedOfflinePageDownloadSuggestions[]; | 51 |
49 extern const char kDismissedForeignSessionsSuggestions[]; | |
50 extern const char kDismissedCategories[]; | 52 extern const char kDismissedCategories[]; |
51 | 53 |
52 // 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 |
53 // that involve opening a new NTP. | 55 // that involve opening a new NTP. |
54 extern const char kUserClassifierAverageNTPOpenedPerHour[]; | 56 extern const char kUserClassifierAverageNTPOpenedPerHour[]; |
55 // 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 |
56 // that involve opening showing the content suggestions. | 58 // that involve opening showing the content suggestions. |
57 extern const char kUserClassifierAverageSuggestionsShownPerHour[]; | 59 extern const char kUserClassifierAverageSuggestionsShownPerHour[]; |
58 // 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 |
59 // 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 |
60 // "More" button). | 62 // "More" button). |
61 extern const char kUserClassifierAverageSuggestionsUsedPerHour[]; | 63 extern const char kUserClassifierAverageSuggestionsUsedPerHour[]; |
62 | 64 |
63 // 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. |
64 extern const char kUserClassifierLastTimeToOpenNTP[]; | 66 extern const char kUserClassifierLastTimeToOpenNTP[]; |
65 // 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. |
66 extern const char kUserClassifierLastTimeToShowSuggestions[]; | 68 extern const char kUserClassifierLastTimeToShowSuggestions[]; |
67 // 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. |
68 extern const char kUserClassifierLastTimeToUseSuggestions[]; | 70 extern const char kUserClassifierLastTimeToUseSuggestions[]; |
69 | 71 |
70 } // namespace prefs | 72 } // namespace prefs |
71 } // namespace ntp_snippets | 73 } // namespace ntp_snippets |
72 | 74 |
73 #endif // COMPONENTS_NTP_SNIPPETS_PREF_NAMES_H_ | 75 #endif // COMPONENTS_NTP_SNIPPETS_PREF_NAMES_H_ |
OLD | NEW |