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 | 44 |
43 const char kBookmarksFirstM54Start[] = | 45 const char kBookmarksFirstM54Start[] = |
44 "ntp_suggestions.bookmarks.first_M54_start"; | 46 "ntp_suggestions.bookmarks.first_M54_start"; |
45 | 47 |
46 const char kUserClassifierAverageNTPOpenedPerHour[] = | 48 const char kUserClassifierAverageNTPOpenedPerHour[] = |
47 "ntp_suggestions.user_classifier.average_ntp_opened_per_hour"; | 49 "ntp_suggestions.user_classifier.average_ntp_opened_per_hour"; |
48 const char kUserClassifierAverageSuggestionsShownPerHour[] = | 50 const char kUserClassifierAverageSuggestionsShownPerHour[] = |
49 "ntp_suggestions.user_classifier.average_suggestions_shown_per_hour"; | 51 "ntp_suggestions.user_classifier.average_suggestions_shown_per_hour"; |
50 const char kUserClassifierAverageSuggestionsUsedPerHour[] = | 52 const char kUserClassifierAverageSuggestionsUsedPerHour[] = |
51 "ntp_suggestions.user_classifier.average_suggestions_used_per_hour"; | 53 "ntp_suggestions.user_classifier.average_suggestions_used_per_hour"; |
52 | 54 |
53 const char kUserClassifierLastTimeToOpenNTP[] = | 55 const char kUserClassifierLastTimeToOpenNTP[] = |
54 "ntp_suggestions.user_classifier.last_time_to_open_ntp"; | 56 "ntp_suggestions.user_classifier.last_time_to_open_ntp"; |
55 const char kUserClassifierLastTimeToShowSuggestions[] = | 57 const char kUserClassifierLastTimeToShowSuggestions[] = |
56 "ntp_suggestions.user_classifier.last_time_to_show_suggestions"; | 58 "ntp_suggestions.user_classifier.last_time_to_show_suggestions"; |
57 const char kUserClassifierLastTimeToUseSuggestions[] = | 59 const char kUserClassifierLastTimeToUseSuggestions[] = |
58 "ntp_suggestions.user_classifier.last_time_to_use_suggestions"; | 60 "ntp_suggestions.user_classifier.last_time_to_use_suggestions"; |
59 | 61 |
60 } // namespace prefs | 62 } // namespace prefs |
61 } // namespace ntp_snippets | 63 } // namespace ntp_snippets |
OLD | NEW |