diff options
Diffstat (limited to 'chromium/components/ntp_snippets/pref_names.cc')
-rw-r--r-- | chromium/components/ntp_snippets/pref_names.cc | 49 |
1 files changed, 47 insertions, 2 deletions
diff --git a/chromium/components/ntp_snippets/pref_names.cc b/chromium/components/ntp_snippets/pref_names.cc index 57822e3f047..7b0c9bdcb3d 100644 --- a/chromium/components/ntp_snippets/pref_names.cc +++ b/chromium/components/ntp_snippets/pref_names.cc @@ -7,10 +7,55 @@ namespace ntp_snippets { namespace prefs { -const char kDeprecatedSnippets[] = "ntp_snippets.snippets"; -const char kDeprecatedDiscardedSnippets[] = "ntp_snippets.discarded_snippets"; +const char kEnableSnippets[] = "ntp_snippets.enable"; const char kSnippetHosts[] = "ntp_snippets.hosts"; +const char kRemoteSuggestionCategories[] = "ntp_snippets.remote_categories"; + +const char kSnippetBackgroundFetchingIntervalWifi[] = + "ntp_snippets.fetching_interval_wifi"; + +const char kSnippetBackgroundFetchingIntervalFallback[] = + "ntp_snippets.fetching_interval_fallback"; + +const char kSnippetFetcherRequestCount[] = + "ntp.request_throttler.suggestion_fetcher.count"; +const char kSnippetFetcherInteractiveRequestCount[] = + "ntp.request_throttler.suggestion_fetcher.interactive_count"; +const char kSnippetFetcherRequestsDay[] = + "ntp.request_throttler.suggestion_fetcher.day"; + +const char kSnippetThumbnailsRequestCount[] = + "ntp.request_throttler.suggestion_thumbnails.count"; +const char kSnippetThumbnailsInteractiveRequestCount[] = + "ntp.request_throttler.suggestion_thumbnails.interactive_count"; +const char kSnippetThumbnailsRequestsDay[] = + "ntp.request_throttler.suggestion_thumbnails.day"; + +const char kDismissedRecentOfflineTabSuggestions[] = + "ntp_suggestions.offline_pages.recent_tabs.dismissed_ids"; +const char kDismissedDownloadSuggestions[] = + "ntp_suggestions.offline_pages.downloads.dismissed_ids"; +const char kDismissedForeignSessionsSuggestions[] = + "ntp_suggestions.foreign_sessions.dismissed_ids"; + +const char kBookmarksFirstM54Start[] = + "ntp_suggestions.bookmarks.first_M54_start"; + +const char kUserClassifierAverageNTPOpenedPerHour[] = + "ntp_suggestions.user_classifier.average_ntp_opened_per_hour"; +const char kUserClassifierAverageSuggestionsShownPerHour[] = + "ntp_suggestions.user_classifier.average_suggestions_shown_per_hour"; +const char kUserClassifierAverageSuggestionsUsedPerHour[] = + "ntp_suggestions.user_classifier.average_suggestions_used_per_hour"; + +const char kUserClassifierLastTimeToOpenNTP[] = + "ntp_suggestions.user_classifier.last_time_to_open_ntp"; +const char kUserClassifierLastTimeToShowSuggestions[] = + "ntp_suggestions.user_classifier.last_time_to_show_suggestions"; +const char kUserClassifierLastTimeToUseSuggestions[] = + "ntp_suggestions.user_classifier.last_time_to_use_suggestions"; + } // namespace prefs } // namespace ntp_snippets |