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

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

Issue 2279123002: [Sync] Initial implementation of foreign sessions suggestions provider. (Closed)
Patch Set: Updating for comments, again! 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 13 matching lines...) Expand all
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 kDismissedRecentOfflineTabSuggestions[]; 32 extern const char kDismissedRecentOfflineTabSuggestions[];
33 extern const char kDismissedDownloadSuggestions[]; 33 extern const char kDismissedDownloadSuggestions[];
34 extern const char kDismissedForeignSessionsSuggestions[];
34 35
35 // The pref name for the time when M54 was first started on the device. 36 // The pref name for the time when M54 was first started on the device.
36 extern const char kBookmarksFirstM54Start[]; 37 extern const char kBookmarksFirstM54Start[];
37 38
38 // The pref name for the discounted average number of browsing sessions per hour 39 // The pref name for the discounted average number of browsing sessions per hour
39 // that involve opening a new NTP. 40 // that involve opening a new NTP.
40 extern const char kUserClassifierAverageNTPOpenedPerHour[]; 41 extern const char kUserClassifierAverageNTPOpenedPerHour[];
41 // The pref name for the discounted average number of browsing sessions per hour 42 // The pref name for the discounted average number of browsing sessions per hour
42 // that involve opening showing the content suggestions. 43 // that involve opening showing the content suggestions.
43 extern const char kUserClassifierAverageSuggestionsShownPerHour[]; 44 extern const char kUserClassifierAverageSuggestionsShownPerHour[];
44 // The pref name for the discounted average number of browsing sessions per hour 45 // The pref name for the discounted average number of browsing sessions per hour
45 // that involve using content suggestions (i.e. opening one or clicking on the 46 // that involve using content suggestions (i.e. opening one or clicking on the
46 // "More" button). 47 // "More" button).
47 extern const char kUserClassifierAverageSuggestionsUsedPerHour[]; 48 extern const char kUserClassifierAverageSuggestionsUsedPerHour[];
48 49
49 // The pref name for the last time a new NTP was opened. 50 // The pref name for the last time a new NTP was opened.
50 extern const char kUserClassifierLastTimeToOpenNTP[]; 51 extern const char kUserClassifierLastTimeToOpenNTP[];
51 // The pref name for the last time content suggestions were shown to the user. 52 // The pref name for the last time content suggestions were shown to the user.
52 extern const char kUserClassifierLastTimeToShowSuggestions[]; 53 extern const char kUserClassifierLastTimeToShowSuggestions[];
53 // The pref name for the last time content suggestions were used by the user. 54 // The pref name for the last time content suggestions were used by the user.
54 extern const char kUserClassifierLastTimeToUseSuggestions[]; 55 extern const char kUserClassifierLastTimeToUseSuggestions[];
55 56
56 } // namespace prefs 57 } // namespace prefs
57 } // namespace ntp_snippets 58 } // namespace ntp_snippets
58 59
59 #endif // COMPONENTS_NTP_SNIPPETS_PREF_NAMES_H_ 60 #endif // COMPONENTS_NTP_SNIPPETS_PREF_NAMES_H_
OLDNEW
« no previous file with comments | « components/ntp_snippets/offline_pages/offline_page_suggestions_provider.cc ('k') | components/ntp_snippets/pref_names.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698