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 #include "components/ntp_snippets/pref_names.h" | 5 #include "components/ntp_snippets/pref_names.h" |
6 | 6 |
7 namespace ntp_snippets { | 7 namespace ntp_snippets { |
8 namespace prefs { | 8 namespace prefs { |
9 | 9 |
10 const char kEnableSnippets[] = "ntp_snippets.enable"; | 10 const char kEnableSnippets[] = "ntp_snippets.enable"; |
11 | 11 |
12 const char kSnippetHosts[] = "ntp_snippets.hosts"; | 12 const char kSnippetHosts[] = "ntp_snippets.hosts"; |
13 | 13 |
| 14 const char kSnippetBackgroundFetchingIntervalWifi[] = |
| 15 "ntp_snippets.fetching_interval_wifi"; |
| 16 |
| 17 const char kSnippetBackgroundFetchingIntervalFallback[] = |
| 18 "ntp_snippets.fetching_interval_fallback"; |
| 19 |
14 const char kSnippetFetcherRequestCount[] = | 20 const char kSnippetFetcherRequestCount[] = |
15 "ntp.request_throttler.suggestion_fetcher.count"; | 21 "ntp.request_throttler.suggestion_fetcher.count"; |
16 const char kSnippetFetcherInteractiveRequestCount[] = | 22 const char kSnippetFetcherInteractiveRequestCount[] = |
17 "ntp.request_throttler.suggestion_fetcher.interactive_count"; | 23 "ntp.request_throttler.suggestion_fetcher.interactive_count"; |
18 const char kSnippetFetcherRequestsDay[] = | 24 const char kSnippetFetcherRequestsDay[] = |
19 "ntp.request_throttler.suggestion_fetcher.day"; | 25 "ntp.request_throttler.suggestion_fetcher.day"; |
20 | 26 |
21 const char kSnippetThumbnailsRequestCount[] = | 27 const char kSnippetThumbnailsRequestCount[] = |
22 "ntp.request_throttler.suggestion_thumbnails.count"; | 28 "ntp.request_throttler.suggestion_thumbnails.count"; |
23 const char kSnippetThumbnailsInteractiveRequestCount[] = | 29 const char kSnippetThumbnailsInteractiveRequestCount[] = |
(...skipping 20 matching lines...) Expand all Loading... |
44 | 50 |
45 const char kUserClassifierLastTimeToOpenNTP[] = | 51 const char kUserClassifierLastTimeToOpenNTP[] = |
46 "ntp_suggestions.user_classifier.last_time_to_open_ntp"; | 52 "ntp_suggestions.user_classifier.last_time_to_open_ntp"; |
47 const char kUserClassifierLastTimeToShowSuggestions[] = | 53 const char kUserClassifierLastTimeToShowSuggestions[] = |
48 "ntp_suggestions.user_classifier.last_time_to_show_suggestions"; | 54 "ntp_suggestions.user_classifier.last_time_to_show_suggestions"; |
49 const char kUserClassifierLastTimeToUseSuggestions[] = | 55 const char kUserClassifierLastTimeToUseSuggestions[] = |
50 "ntp_suggestions.user_classifier.last_time_to_use_suggestions"; | 56 "ntp_suggestions.user_classifier.last_time_to_use_suggestions"; |
51 | 57 |
52 } // namespace prefs | 58 } // namespace prefs |
53 } // namespace ntp_snippets | 59 } // namespace ntp_snippets |
OLD | NEW |