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

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

Issue 2560783002: [NTP::PhysicalWeb] Implement suggestion dismissal. (Closed)
Patch Set: rebase and bauerb@ nit. Created 4 years 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
« no previous file with comments | « components/ntp_snippets/pref_names.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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";
(...skipping 15 matching lines...) Expand all
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
OLDNEW
« no previous file with comments | « components/ntp_snippets/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698