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 #include "components/ntp_snippets/pref_names.h" | 5 #include "components/ntp_snippets/pref_names.h" |
6 | 6 |
7 namespace ntp_snippets { | 7 namespace ntp_snippets { |
8 namespace prefs { | 8 namespace prefs { |
9 | 9 |
10 const char kEnableSnippets[] = "ntp_snippets.enable"; | 10 const char kEnableSnippets[] = "ntp_snippets.enable"; |
(...skipping 15 matching lines...) Expand all Loading... |
26 const char kSnippetFetcherRequestsDay[] = | 26 const char kSnippetFetcherRequestsDay[] = |
27 "ntp.request_throttler.suggestion_fetcher.day"; | 27 "ntp.request_throttler.suggestion_fetcher.day"; |
28 | 28 |
29 const char kSnippetThumbnailsRequestCount[] = | 29 const char kSnippetThumbnailsRequestCount[] = |
30 "ntp.request_throttler.suggestion_thumbnails.count"; | 30 "ntp.request_throttler.suggestion_thumbnails.count"; |
31 const char kSnippetThumbnailsInteractiveRequestCount[] = | 31 const char kSnippetThumbnailsInteractiveRequestCount[] = |
32 "ntp.request_throttler.suggestion_thumbnails.interactive_count"; | 32 "ntp.request_throttler.suggestion_thumbnails.interactive_count"; |
33 const char kSnippetThumbnailsRequestsDay[] = | 33 const char kSnippetThumbnailsRequestsDay[] = |
34 "ntp.request_throttler.suggestion_thumbnails.day"; | 34 "ntp.request_throttler.suggestion_thumbnails.day"; |
35 | 35 |
| 36 const char kDismissedAssetDownloadSuggestions[] = |
| 37 "ntp_suggestions.downloads.assets.dismissed_ids"; |
36 const char kDismissedRecentOfflineTabSuggestions[] = | 38 const char kDismissedRecentOfflineTabSuggestions[] = |
37 "ntp_suggestions.offline_pages.recent_tabs.dismissed_ids"; | 39 "ntp_suggestions.offline_pages.recent_tabs.dismissed_ids"; |
38 const char kDismissedDownloadSuggestions[] = | 40 const char kDismissedOfflinePageDownloadSuggestions[] = |
39 "ntp_suggestions.offline_pages.downloads.dismissed_ids"; | 41 "ntp_suggestions.downloads.offline_pages.dismissed_ids"; |
40 const char kDismissedForeignSessionsSuggestions[] = | 42 const char kDismissedForeignSessionsSuggestions[] = |
41 "ntp_suggestions.foreign_sessions.dismissed_ids"; | 43 "ntp_suggestions.foreign_sessions.dismissed_ids"; |
42 const char kDismissedCategories[] = "ntp_suggestions.dismissed_categories"; | 44 const char kDismissedCategories[] = "ntp_suggestions.dismissed_categories"; |
43 | 45 |
44 const char kBookmarksFirstM54Start[] = | 46 const char kBookmarksFirstM54Start[] = |
45 "ntp_suggestions.bookmarks.first_M54_start"; | 47 "ntp_suggestions.bookmarks.first_M54_start"; |
46 | 48 |
47 const char kUserClassifierAverageNTPOpenedPerHour[] = | 49 const char kUserClassifierAverageNTPOpenedPerHour[] = |
48 "ntp_suggestions.user_classifier.average_ntp_opened_per_hour"; | 50 "ntp_suggestions.user_classifier.average_ntp_opened_per_hour"; |
49 const char kUserClassifierAverageSuggestionsShownPerHour[] = | 51 const char kUserClassifierAverageSuggestionsShownPerHour[] = |
50 "ntp_suggestions.user_classifier.average_suggestions_shown_per_hour"; | 52 "ntp_suggestions.user_classifier.average_suggestions_shown_per_hour"; |
51 const char kUserClassifierAverageSuggestionsUsedPerHour[] = | 53 const char kUserClassifierAverageSuggestionsUsedPerHour[] = |
52 "ntp_suggestions.user_classifier.average_suggestions_used_per_hour"; | 54 "ntp_suggestions.user_classifier.average_suggestions_used_per_hour"; |
53 | 55 |
54 const char kUserClassifierLastTimeToOpenNTP[] = | 56 const char kUserClassifierLastTimeToOpenNTP[] = |
55 "ntp_suggestions.user_classifier.last_time_to_open_ntp"; | 57 "ntp_suggestions.user_classifier.last_time_to_open_ntp"; |
56 const char kUserClassifierLastTimeToShowSuggestions[] = | 58 const char kUserClassifierLastTimeToShowSuggestions[] = |
57 "ntp_suggestions.user_classifier.last_time_to_show_suggestions"; | 59 "ntp_suggestions.user_classifier.last_time_to_show_suggestions"; |
58 const char kUserClassifierLastTimeToUseSuggestions[] = | 60 const char kUserClassifierLastTimeToUseSuggestions[] = |
59 "ntp_suggestions.user_classifier.last_time_to_use_suggestions"; | 61 "ntp_suggestions.user_classifier.last_time_to_use_suggestions"; |
60 | 62 |
61 } // namespace prefs | 63 } // namespace prefs |
62 } // namespace ntp_snippets | 64 } // namespace ntp_snippets |
OLD | NEW |