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 | 26 |
27 const char kSnippetThumbnailsRequestCount[] = | 27 const char kSnippetThumbnailsRequestCount[] = |
28 "ntp.request_throttler.suggestion_thumbnails.count"; | 28 "ntp.request_throttler.suggestion_thumbnails.count"; |
29 const char kSnippetThumbnailsInteractiveRequestCount[] = | 29 const char kSnippetThumbnailsInteractiveRequestCount[] = |
30 "ntp.request_throttler.suggestion_thumbnails.interactive_count"; | 30 "ntp.request_throttler.suggestion_thumbnails.interactive_count"; |
31 const char kSnippetThumbnailsRequestsDay[] = | 31 const char kSnippetThumbnailsRequestsDay[] = |
32 "ntp.request_throttler.suggestion_thumbnails.day"; | 32 "ntp.request_throttler.suggestion_thumbnails.day"; |
33 | 33 |
34 const char kDismissedAssetDownloadSuggestions[] = | 34 const char kDismissedAssetDownloadSuggestions[] = |
35 "ntp_suggestions.downloads.assets.dismissed_ids"; | 35 "ntp_suggestions.downloads.assets.dismissed_ids"; |
| 36 const char kDismissedForeignSessionsSuggestions[] = |
| 37 "ntp_suggestions.foreign_sessions.dismissed_ids"; |
| 38 const char kDismissedOfflinePageDownloadSuggestions[] = |
| 39 "ntp_suggestions.downloads.offline_pages.dismissed_ids"; |
| 40 const char kDismissedPhysicalWebPageSuggestions[] = |
| 41 "ntp_suggestions.physical_web.dismissed_ids"; |
36 const char kDismissedRecentOfflineTabSuggestions[] = | 42 const char kDismissedRecentOfflineTabSuggestions[] = |
37 "ntp_suggestions.offline_pages.recent_tabs.dismissed_ids"; | 43 "ntp_suggestions.offline_pages.recent_tabs.dismissed_ids"; |
38 const char kDismissedOfflinePageDownloadSuggestions[] = | 44 |
39 "ntp_suggestions.downloads.offline_pages.dismissed_ids"; | |
40 const char kDismissedForeignSessionsSuggestions[] = | |
41 "ntp_suggestions.foreign_sessions.dismissed_ids"; | |
42 const char kDismissedCategories[] = "ntp_suggestions.dismissed_categories"; | 45 const char kDismissedCategories[] = "ntp_suggestions.dismissed_categories"; |
43 | 46 |
44 const char kLastSuccessfulBackgroundFetchTime[] = | 47 const char kLastSuccessfulBackgroundFetchTime[] = |
45 "ntp_suggestions.remote.last_successful_background_fetch_time"; | 48 "ntp_suggestions.remote.last_successful_background_fetch_time"; |
46 | 49 |
47 const char kUserClassifierAverageNTPOpenedPerHour[] = | 50 const char kUserClassifierAverageNTPOpenedPerHour[] = |
48 "ntp_suggestions.user_classifier.average_ntp_opened_per_hour"; | 51 "ntp_suggestions.user_classifier.average_ntp_opened_per_hour"; |
49 const char kUserClassifierAverageSuggestionsShownPerHour[] = | 52 const char kUserClassifierAverageSuggestionsShownPerHour[] = |
50 "ntp_suggestions.user_classifier.average_suggestions_shown_per_hour"; | 53 "ntp_suggestions.user_classifier.average_suggestions_shown_per_hour"; |
51 const char kUserClassifierAverageSuggestionsUsedPerHour[] = | 54 const char kUserClassifierAverageSuggestionsUsedPerHour[] = |
52 "ntp_suggestions.user_classifier.average_suggestions_used_per_hour"; | 55 "ntp_suggestions.user_classifier.average_suggestions_used_per_hour"; |
53 | 56 |
54 const char kUserClassifierLastTimeToOpenNTP[] = | 57 const char kUserClassifierLastTimeToOpenNTP[] = |
55 "ntp_suggestions.user_classifier.last_time_to_open_ntp"; | 58 "ntp_suggestions.user_classifier.last_time_to_open_ntp"; |
56 const char kUserClassifierLastTimeToShowSuggestions[] = | 59 const char kUserClassifierLastTimeToShowSuggestions[] = |
57 "ntp_suggestions.user_classifier.last_time_to_show_suggestions"; | 60 "ntp_suggestions.user_classifier.last_time_to_show_suggestions"; |
58 const char kUserClassifierLastTimeToUseSuggestions[] = | 61 const char kUserClassifierLastTimeToUseSuggestions[] = |
59 "ntp_suggestions.user_classifier.last_time_to_use_suggestions"; | 62 "ntp_suggestions.user_classifier.last_time_to_use_suggestions"; |
60 | 63 |
61 } // namespace prefs | 64 } // namespace prefs |
62 } // namespace ntp_snippets | 65 } // namespace ntp_snippets |
OLD | NEW |