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

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

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 #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 11 matching lines...) Expand all
22 22
23 // The pref name for today's count of requests for article thumbnails, so far. 23 // The pref name for today's count of requests for article thumbnails, so far.
24 extern const char kSnippetThumbnailsRequestCount[]; 24 extern const char kSnippetThumbnailsRequestCount[];
25 // The pref name for today's count of interactive requests for article 25 // The pref name for today's count of interactive requests for article
26 // thumbnails, so far. 26 // thumbnails, so far.
27 extern const char kSnippetThumbnailsInteractiveRequestCount[]; 27 extern const char kSnippetThumbnailsInteractiveRequestCount[];
28 // The pref name for the current day for the counter of requests for article 28 // The pref name for the current day for the counter of requests for article
29 // thumbnails. 29 // thumbnails.
30 extern const char kSnippetThumbnailsRequestsDay[]; 30 extern const char kSnippetThumbnailsRequestsDay[];
31 31
32 extern const char kDismissedAssetDownloadSuggestions[];
32 extern const char kDismissedRecentOfflineTabSuggestions[]; 33 extern const char kDismissedRecentOfflineTabSuggestions[];
33 extern const char kDismissedDownloadSuggestions[]; 34 extern const char kDismissedOfflinePageDownloadSuggestions[];
34 extern const char kDismissedForeignSessionsSuggestions[]; 35 extern const char kDismissedForeignSessionsSuggestions[];
35 36
36 // The pref name for the time when M54 was first started on the device. 37 // The pref name for the time when M54 was first started on the device.
37 extern const char kBookmarksFirstM54Start[]; 38 extern const char kBookmarksFirstM54Start[];
38 39
39 // The pref name for the discounted average number of browsing sessions per hour 40 // The pref name for the discounted average number of browsing sessions per hour
40 // that involve opening a new NTP. 41 // that involve opening a new NTP.
41 extern const char kUserClassifierAverageNTPOpenedPerHour[]; 42 extern const char kUserClassifierAverageNTPOpenedPerHour[];
42 // The pref name for the discounted average number of browsing sessions per hour 43 // The pref name for the discounted average number of browsing sessions per hour
43 // that involve opening showing the content suggestions. 44 // that involve opening showing the content suggestions.
44 extern const char kUserClassifierAverageSuggestionsShownPerHour[]; 45 extern const char kUserClassifierAverageSuggestionsShownPerHour[];
45 // The pref name for the discounted average number of browsing sessions per hour 46 // The pref name for the discounted average number of browsing sessions per hour
46 // that involve using content suggestions (i.e. opening one or clicking on the 47 // that involve using content suggestions (i.e. opening one or clicking on the
47 // "More" button). 48 // "More" button).
48 extern const char kUserClassifierAverageSuggestionsUsedPerHour[]; 49 extern const char kUserClassifierAverageSuggestionsUsedPerHour[];
49 50
50 // The pref name for the last time a new NTP was opened. 51 // The pref name for the last time a new NTP was opened.
51 extern const char kUserClassifierLastTimeToOpenNTP[]; 52 extern const char kUserClassifierLastTimeToOpenNTP[];
52 // The pref name for the last time content suggestions were shown to the user. 53 // The pref name for the last time content suggestions were shown to the user.
53 extern const char kUserClassifierLastTimeToShowSuggestions[]; 54 extern const char kUserClassifierLastTimeToShowSuggestions[];
54 // The pref name for the last time content suggestions were used by the user. 55 // The pref name for the last time content suggestions were used by the user.
55 extern const char kUserClassifierLastTimeToUseSuggestions[]; 56 extern const char kUserClassifierLastTimeToUseSuggestions[];
56 57
57 } // namespace prefs 58 } // namespace prefs
58 } // namespace ntp_snippets 59 } // namespace ntp_snippets
59 60
60 #endif // COMPONENTS_NTP_SNIPPETS_PREF_NAMES_H_ 61 #endif // COMPONENTS_NTP_SNIPPETS_PREF_NAMES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698