| 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 kRemoteSuggestionCategories[] = "ntp_snippets.remote_categories"; | 12 const char kRemoteSuggestionCategories[] = "ntp_snippets.remote_categories"; |
| 13 | 13 |
| 14 const char kSnippetNextActiveSoftFetch[] = |
| 15 "ntp_snippets.next_soft_fetch_active"; |
| 16 const char kSnippetSoftFetchingIntervalActive[] = |
| 17 "ntp_snippets.soft_fetching_interval_active"; |
| 18 |
| 14 const char kSnippetBackgroundFetchingIntervalWifi[] = | 19 const char kSnippetBackgroundFetchingIntervalWifi[] = |
| 15 "ntp_snippets.fetching_interval_wifi"; | 20 "ntp_snippets.fetching_interval_wifi"; |
| 16 | 21 |
| 17 const char kSnippetBackgroundFetchingIntervalFallback[] = | 22 const char kSnippetBackgroundFetchingIntervalFallback[] = |
| 18 "ntp_snippets.fetching_interval_fallback"; | 23 "ntp_snippets.fetching_interval_fallback"; |
| 19 | 24 |
| 20 const char kSnippetFetcherRequestCount[] = | 25 const char kSnippetFetcherRequestCount[] = |
| 21 "ntp.request_throttler.suggestion_fetcher.count"; | 26 "ntp.request_throttler.suggestion_fetcher.count"; |
| 22 const char kSnippetFetcherInteractiveRequestCount[] = | 27 const char kSnippetFetcherInteractiveRequestCount[] = |
| 23 "ntp.request_throttler.suggestion_fetcher.interactive_count"; | 28 "ntp.request_throttler.suggestion_fetcher.interactive_count"; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 const char kUserClassifierLastTimeToShowSuggestions[] = | 64 const char kUserClassifierLastTimeToShowSuggestions[] = |
| 60 "ntp_suggestions.user_classifier.last_time_to_show_suggestions"; | 65 "ntp_suggestions.user_classifier.last_time_to_show_suggestions"; |
| 61 const char kUserClassifierLastTimeToUseSuggestions[] = | 66 const char kUserClassifierLastTimeToUseSuggestions[] = |
| 62 "ntp_suggestions.user_classifier.last_time_to_use_suggestions"; | 67 "ntp_suggestions.user_classifier.last_time_to_use_suggestions"; |
| 63 | 68 |
| 64 const char kClickBasedCategoryRankerOrderWithClicks[] = | 69 const char kClickBasedCategoryRankerOrderWithClicks[] = |
| 65 "ntp_suggestions.click_based_category_ranker.category_order_with_clicks"; | 70 "ntp_suggestions.click_based_category_ranker.category_order_with_clicks"; |
| 66 | 71 |
| 67 } // namespace prefs | 72 } // namespace prefs |
| 68 } // namespace ntp_snippets | 73 } // namespace ntp_snippets |
| OLD | NEW |