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

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

Issue 2315273002: Measure usage metrics to prepare for adaptive fetching rates in M55 (Closed)
Patch Set: Bernhard's comments 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 17 matching lines...) Expand all
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 34
35 // The pref name for the time when M54 was first started on the device. 35 // The pref name for the time when M54 was first started on the device.
36 extern const char kBookmarksFirstM54Start[]; 36 extern const char kBookmarksFirstM54Start[];
37 37
38 // The pref name for the discounted average number of browsing sessions per hour
39 // that involve opening a new NTP.
40 extern const char kUserClassifierAverageNTPOpenedPerHour[];
41 // The pref name for the discounted average number of browsing sessions per hour
42 // that involve opening showing the content suggestions.
43 extern const char kUserClassifierAverageSuggestionsShownPerHour[];
44 // 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 // "More" button).
47 extern const char kUserClassifierAverageSuggestionsUsedPerHour[];
48
49 // The pref name for the last time a new NTP was opened.
50 extern const char kUserClassifierLastTimeToOpenNTP[];
51 // The pref name for the last time content suggestions were shown to the user.
52 extern const char kUserClassifierLastTimeToShowSuggestions[];
53 // The pref name for the last time content suggestions were used by the user.
54 extern const char kUserClassifierLastTimeToUseSuggestions[];
55
38 } // namespace prefs 56 } // namespace prefs
39 } // namespace ntp_snippets 57 } // namespace ntp_snippets
40 58
41 #endif // COMPONENTS_NTP_SNIPPETS_PREF_NAMES_H_ 59 #endif // COMPONENTS_NTP_SNIPPETS_PREF_NAMES_H_
OLDNEW
« no previous file with comments | « components/ntp_snippets/content_suggestions_service_unittest.cc ('k') | components/ntp_snippets/pref_names.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698