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[]; | |
dgn
2016/11/01 11:05:18
same here, this is only used in //chrome, right?
vitaliii
2016/11/02 00:47:37
Same as in previous the comments (i.e. for now we
| |
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 extern const char kDismissedCategories[]; | 50 extern const char kDismissedCategories[]; |
50 | 51 |
51 // The pref name for the time when M54 was first started on the device. | 52 // The pref name for the time when M54 was first started on the device. |
52 extern const char kBookmarksFirstM54Start[]; | 53 extern const char kBookmarksFirstM54Start[]; |
53 | 54 |
54 // 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 |
55 // that involve opening a new NTP. | 56 // that involve opening a new NTP. |
56 extern const char kUserClassifierAverageNTPOpenedPerHour[]; | 57 extern const char kUserClassifierAverageNTPOpenedPerHour[]; |
57 // 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 |
58 // that involve opening showing the content suggestions. | 59 // that involve opening showing the content suggestions. |
59 extern const char kUserClassifierAverageSuggestionsShownPerHour[]; | 60 extern const char kUserClassifierAverageSuggestionsShownPerHour[]; |
60 // The pref name for the discounted average number of browsing sessions per hour | 61 // The pref name for the discounted average number of browsing sessions per hour |
61 // that involve using content suggestions (i.e. opening one or clicking on the | 62 // that involve using content suggestions (i.e. opening one or clicking on the |
62 // "More" button). | 63 // "More" button). |
63 extern const char kUserClassifierAverageSuggestionsUsedPerHour[]; | 64 extern const char kUserClassifierAverageSuggestionsUsedPerHour[]; |
64 | 65 |
65 // The pref name for the last time a new NTP was opened. | 66 // The pref name for the last time a new NTP was opened. |
66 extern const char kUserClassifierLastTimeToOpenNTP[]; | 67 extern const char kUserClassifierLastTimeToOpenNTP[]; |
67 // The pref name for the last time content suggestions were shown to the user. | 68 // The pref name for the last time content suggestions were shown to the user. |
68 extern const char kUserClassifierLastTimeToShowSuggestions[]; | 69 extern const char kUserClassifierLastTimeToShowSuggestions[]; |
69 // The pref name for the last time content suggestions were used by the user. | 70 // The pref name for the last time content suggestions were used by the user. |
70 extern const char kUserClassifierLastTimeToUseSuggestions[]; | 71 extern const char kUserClassifierLastTimeToUseSuggestions[]; |
71 | 72 |
72 } // namespace prefs | 73 } // namespace prefs |
73 } // namespace ntp_snippets | 74 } // namespace ntp_snippets |
74 | 75 |
75 #endif // COMPONENTS_NTP_SNIPPETS_PREF_NAMES_H_ | 76 #endif // COMPONENTS_NTP_SNIPPETS_PREF_NAMES_H_ |
OLD | NEW |