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