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

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

Issue 2560783002: [NTP::PhysicalWeb] Implement suggestion dismissal. (Closed)
Patch Set: 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
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 #ifndef COMPONENTS_NTP_SNIPPETS_PREF_NAMES_H_ 5 #ifndef COMPONENTS_NTP_SNIPPETS_PREF_NAMES_H_
6 #define COMPONENTS_NTP_SNIPPETS_PREF_NAMES_H_ 6 #define COMPONENTS_NTP_SNIPPETS_PREF_NAMES_H_
7 7
8 namespace ntp_snippets { 8 namespace ntp_snippets {
9 namespace prefs { 9 namespace prefs {
10 10
(...skipping 23 matching lines...) Expand all
34 // The pref name for today's count of requests for article thumbnails, so far. 34 // The pref name for today's count of requests for article thumbnails, so far.
35 extern const char kSnippetThumbnailsRequestCount[]; 35 extern const char kSnippetThumbnailsRequestCount[];
36 // The pref name for today's count of interactive requests for article 36 // The pref name for today's count of interactive requests for article
37 // thumbnails, so far. 37 // thumbnails, so far.
38 extern const char kSnippetThumbnailsInteractiveRequestCount[]; 38 extern const char kSnippetThumbnailsInteractiveRequestCount[];
39 // The pref name for the current day for the counter of requests for article 39 // The pref name for the current day for the counter of requests for article
40 // thumbnails. 40 // thumbnails.
41 extern const char kSnippetThumbnailsRequestsDay[]; 41 extern const char kSnippetThumbnailsRequestsDay[];
42 42
43 extern const char kDismissedAssetDownloadSuggestions[]; 43 extern const char kDismissedAssetDownloadSuggestions[];
44 extern const char kDismissedForeignSessionsSuggestions[];
45 extern const char kDismissedOfflinePageDownloadSuggestions[];
46 extern const char kDismissedPhysicalWebPageSuggestions[];
44 extern const char kDismissedRecentOfflineTabSuggestions[]; 47 extern const char kDismissedRecentOfflineTabSuggestions[];
45 extern const char kDismissedOfflinePageDownloadSuggestions[]; 48
46 extern const char kDismissedForeignSessionsSuggestions[];
47 extern const char kDismissedCategories[]; 49 extern const char kDismissedCategories[];
48 50
49 // The pref name for the discounted average number of browsing sessions per hour 51 // The pref name for the discounted average number of browsing sessions per hour
50 // that involve opening a new NTP. 52 // that involve opening a new NTP.
51 extern const char kUserClassifierAverageNTPOpenedPerHour[]; 53 extern const char kUserClassifierAverageNTPOpenedPerHour[];
52 // The pref name for the discounted average number of browsing sessions per hour 54 // The pref name for the discounted average number of browsing sessions per hour
53 // that involve opening showing the content suggestions. 55 // that involve opening showing the content suggestions.
54 extern const char kUserClassifierAverageSuggestionsShownPerHour[]; 56 extern const char kUserClassifierAverageSuggestionsShownPerHour[];
55 // The pref name for the discounted average number of browsing sessions per hour 57 // The pref name for the discounted average number of browsing sessions per hour
56 // that involve using content suggestions (i.e. opening one or clicking on the 58 // that involve using content suggestions (i.e. opening one or clicking on the
57 // "More" button). 59 // "More" button).
58 extern const char kUserClassifierAverageSuggestionsUsedPerHour[]; 60 extern const char kUserClassifierAverageSuggestionsUsedPerHour[];
59 61
60 // The pref name for the last time a new NTP was opened. 62 // The pref name for the last time a new NTP was opened.
61 extern const char kUserClassifierLastTimeToOpenNTP[]; 63 extern const char kUserClassifierLastTimeToOpenNTP[];
62 // The pref name for the last time content suggestions were shown to the user. 64 // The pref name for the last time content suggestions were shown to the user.
63 extern const char kUserClassifierLastTimeToShowSuggestions[]; 65 extern const char kUserClassifierLastTimeToShowSuggestions[];
64 // The pref name for the last time content suggestions were used by the user. 66 // The pref name for the last time content suggestions were used by the user.
65 extern const char kUserClassifierLastTimeToUseSuggestions[]; 67 extern const char kUserClassifierLastTimeToUseSuggestions[];
66 68
67 } // namespace prefs 69 } // namespace prefs
68 } // namespace ntp_snippets 70 } // namespace ntp_snippets
69 71
70 #endif // COMPONENTS_NTP_SNIPPETS_PREF_NAMES_H_ 72 #endif // COMPONENTS_NTP_SNIPPETS_PREF_NAMES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698