| OLD | NEW |
| 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 |
| 11 extern const char kEnableSnippets[]; | 11 extern const char kEnableSnippets[]; |
| 12 | 12 |
| 13 extern const char kSnippetHosts[]; | 13 extern const char kSnippetHosts[]; |
| 14 | 14 |
| 15 // The pref name for the currently-scheduled background fetching interval when |
| 16 // there is WiFi connectivity. |
| 17 extern const char kSnippetBackgroundFetchingIntervalWifi[]; |
| 18 // The pref name for the currently-scheduled background fetching interval when |
| 19 // there is no WiFi connectivity. |
| 20 extern const char kSnippetBackgroundFetchingIntervalFallback[]; |
| 21 |
| 15 // The pref name for today's count of NTPSnippetsFetcher requests, so far. | 22 // The pref name for today's count of NTPSnippetsFetcher requests, so far. |
| 16 extern const char kSnippetFetcherRequestCount[]; | 23 extern const char kSnippetFetcherRequestCount[]; |
| 17 // The pref name for today's count of NTPSnippetsFetcher interactive requests. | 24 // The pref name for today's count of NTPSnippetsFetcher interactive requests. |
| 18 extern const char kSnippetFetcherInteractiveRequestCount[]; | 25 extern const char kSnippetFetcherInteractiveRequestCount[]; |
| 19 // The pref name for the current day for the counter of NTPSnippetsFetcher | 26 // The pref name for the current day for the counter of NTPSnippetsFetcher |
| 20 // requests. | 27 // requests. |
| 21 extern const char kSnippetFetcherRequestsDay[]; | 28 extern const char kSnippetFetcherRequestsDay[]; |
| 22 | 29 |
| 23 // The pref name for today's count of requests for article thumbnails, so far. | 30 // The pref name for today's count of requests for article thumbnails, so far. |
| 24 extern const char kSnippetThumbnailsRequestCount[]; | 31 extern const char kSnippetThumbnailsRequestCount[]; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 51 extern const char kUserClassifierLastTimeToOpenNTP[]; | 58 extern const char kUserClassifierLastTimeToOpenNTP[]; |
| 52 // The pref name for the last time content suggestions were shown to the user. | 59 // The pref name for the last time content suggestions were shown to the user. |
| 53 extern const char kUserClassifierLastTimeToShowSuggestions[]; | 60 extern const char kUserClassifierLastTimeToShowSuggestions[]; |
| 54 // The pref name for the last time content suggestions were used by the user. | 61 // The pref name for the last time content suggestions were used by the user. |
| 55 extern const char kUserClassifierLastTimeToUseSuggestions[]; | 62 extern const char kUserClassifierLastTimeToUseSuggestions[]; |
| 56 | 63 |
| 57 } // namespace prefs | 64 } // namespace prefs |
| 58 } // namespace ntp_snippets | 65 } // namespace ntp_snippets |
| 59 | 66 |
| 60 #endif // COMPONENTS_NTP_SNIPPETS_PREF_NAMES_H_ | 67 #endif // COMPONENTS_NTP_SNIPPETS_PREF_NAMES_H_ |
| OLD | NEW |