| // Copyright 2018 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef COMPONENTS_FEED_CORE_PREF_NAMES_H_ |
| #define COMPONENTS_FEED_CORE_PREF_NAMES_H_ |
| |
| namespace feed { |
| |
| namespace prefs { |
| |
| // The pref name for the period of time between background refreshes. |
| extern const char kBackgroundRefreshPeriod[]; |
| |
| // The pref name for the last time when a background fetch was attempted. |
| extern const char kLastFetchAttemptTime[]; |
| |
| // The pref name for the discounted average number of browsing sessions per hour |
| // that involve opening a new NTP. |
| extern const char kUserClassifierAverageNTPOpenedPerHour[]; |
| // The pref name for the discounted average number of browsing sessions per hour |
| // that involve using content suggestions (i.e. opening one or clicking on the |
| // "More" button). |
| extern const char kUserClassifierAverageSuggestionsUsedPerHour[]; |
| |
| // The pref name for the last time a new NTP was opened. |
| extern const char kUserClassifierLastTimeToOpenNTP[]; |
| // The pref name for the last time content suggestions were used by the user. |
| extern const char kUserClassifierLastTimeToUseSuggestions[]; |
| |
| } // namespace prefs |
| |
| } // namespace feed |
| |
| #endif // COMPONENTS_FEED_CORE_PREF_NAMES_H_ |