Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(174)

Side by Side Diff: components/ntp_snippets/pref_names.cc

Issue 2360263002: [NTPSnippets] Show all downloads on the NTP (3/3): Downloads provider. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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";
11 11
12 const char kSnippetHosts[] = "ntp_snippets.hosts"; 12 const char kSnippetHosts[] = "ntp_snippets.hosts";
13 13
14 const char kSnippetFetcherRequestCount[] = 14 const char kSnippetFetcherRequestCount[] =
15 "ntp.request_throttler.suggestion_fetcher.count"; 15 "ntp.request_throttler.suggestion_fetcher.count";
16 const char kSnippetFetcherInteractiveRequestCount[] = 16 const char kSnippetFetcherInteractiveRequestCount[] =
17 "ntp.request_throttler.suggestion_fetcher.interactive_count"; 17 "ntp.request_throttler.suggestion_fetcher.interactive_count";
18 const char kSnippetFetcherRequestsDay[] = 18 const char kSnippetFetcherRequestsDay[] =
19 "ntp.request_throttler.suggestion_fetcher.day"; 19 "ntp.request_throttler.suggestion_fetcher.day";
20 20
21 const char kSnippetThumbnailsRequestCount[] = 21 const char kSnippetThumbnailsRequestCount[] =
22 "ntp.request_throttler.suggestion_thumbnails.count"; 22 "ntp.request_throttler.suggestion_thumbnails.count";
23 const char kSnippetThumbnailsInteractiveRequestCount[] = 23 const char kSnippetThumbnailsInteractiveRequestCount[] =
24 "ntp.request_throttler.suggestion_thumbnails.interactive_count"; 24 "ntp.request_throttler.suggestion_thumbnails.interactive_count";
25 const char kSnippetThumbnailsRequestsDay[] = 25 const char kSnippetThumbnailsRequestsDay[] =
26 "ntp.request_throttler.suggestion_thumbnails.day"; 26 "ntp.request_throttler.suggestion_thumbnails.day";
27 27
28 const char kDismissedAssetDownloadSuggestions[] =
29 "ntp_suggestions.downloads.assets.dismissed_ids";
28 const char kDismissedRecentOfflineTabSuggestions[] = 30 const char kDismissedRecentOfflineTabSuggestions[] =
29 "ntp_suggestions.offline_pages.recent_tabs.dismissed_ids"; 31 "ntp_suggestions.offline_pages.recent_tabs.dismissed_ids";
30 const char kDismissedDownloadSuggestions[] = 32 const char kDismissedOfflinePageDownloadSuggestions[] =
31 "ntp_suggestions.offline_pages.downloads.dismissed_ids"; 33 "ntp_suggestions.downloads.offline_pages.dismissed_ids";
Marc Treib 2016/09/22 13:45:52 FYI: Generally, you cannot just rename prefs - tha
vitaliii 2016/10/11 08:15:56 Acknowledged.
32 const char kDismissedForeignSessionsSuggestions[] = 34 const char kDismissedForeignSessionsSuggestions[] =
33 "ntp_suggestions.foreign_sessions.dismissed_ids"; 35 "ntp_suggestions.foreign_sessions.dismissed_ids";
34 36
35 const char kBookmarksFirstM54Start[] = 37 const char kBookmarksFirstM54Start[] =
36 "ntp_suggestions.bookmarks.first_M54_start"; 38 "ntp_suggestions.bookmarks.first_M54_start";
37 39
38 const char kUserClassifierAverageNTPOpenedPerHour[] = 40 const char kUserClassifierAverageNTPOpenedPerHour[] =
39 "ntp_suggestions.user_classifier.average_ntp_opened_per_hour"; 41 "ntp_suggestions.user_classifier.average_ntp_opened_per_hour";
40 const char kUserClassifierAverageSuggestionsShownPerHour[] = 42 const char kUserClassifierAverageSuggestionsShownPerHour[] =
41 "ntp_suggestions.user_classifier.average_suggestions_shown_per_hour"; 43 "ntp_suggestions.user_classifier.average_suggestions_shown_per_hour";
42 const char kUserClassifierAverageSuggestionsUsedPerHour[] = 44 const char kUserClassifierAverageSuggestionsUsedPerHour[] =
43 "ntp_suggestions.user_classifier.average_suggestions_used_per_hour"; 45 "ntp_suggestions.user_classifier.average_suggestions_used_per_hour";
44 46
45 const char kUserClassifierLastTimeToOpenNTP[] = 47 const char kUserClassifierLastTimeToOpenNTP[] =
46 "ntp_suggestions.user_classifier.last_time_to_open_ntp"; 48 "ntp_suggestions.user_classifier.last_time_to_open_ntp";
47 const char kUserClassifierLastTimeToShowSuggestions[] = 49 const char kUserClassifierLastTimeToShowSuggestions[] =
48 "ntp_suggestions.user_classifier.last_time_to_show_suggestions"; 50 "ntp_suggestions.user_classifier.last_time_to_show_suggestions";
49 const char kUserClassifierLastTimeToUseSuggestions[] = 51 const char kUserClassifierLastTimeToUseSuggestions[] =
50 "ntp_suggestions.user_classifier.last_time_to_use_suggestions"; 52 "ntp_suggestions.user_classifier.last_time_to_use_suggestions";
51 53
52 } // namespace prefs 54 } // namespace prefs
53 } // namespace ntp_snippets 55 } // namespace ntp_snippets
OLDNEW
« components/ntp_snippets/offline_pages/DEPS ('K') | « components/ntp_snippets/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698