| 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 kSnippetLastFetchAttempt[] = | 14 const char kSnippetLastFetchAttempt[] = |
| 15 "ntp_snippets.last_fetch_attempt"; | 15 "ntp_snippets.last_fetch_attempt"; |
| 16 | 16 |
| 17 const char kSnippetSoftFetchingIntervalOnUsageEvent[] = | 17 const char kSnippetSoftFetchingIntervalOnUsageEvent[] = |
| 18 "ntp_snippets.soft_fetching_interval_on_usage_event"; | 18 "ntp_snippets.soft_fetching_interval_on_usage_event"; |
| 19 | 19 |
| 20 const char kSnippetSoftFetchingIntervalOnNtpOpened[] = |
| 21 "ntp_snippets.soft_fetching_interval_on_ntp_opened"; |
| 22 |
| 20 const char kSnippetPersistentFetchingIntervalWifi[] = | 23 const char kSnippetPersistentFetchingIntervalWifi[] = |
| 21 "ntp_snippets.fetching_interval_wifi"; | 24 "ntp_snippets.fetching_interval_wifi"; |
| 22 | 25 |
| 23 const char kSnippetPersistentFetchingIntervalFallback[] = | 26 const char kSnippetPersistentFetchingIntervalFallback[] = |
| 24 "ntp_snippets.fetching_interval_fallback"; | 27 "ntp_snippets.fetching_interval_fallback"; |
| 25 | 28 |
| 26 const char kSnippetFetcherRequestCount[] = | 29 const char kSnippetFetcherRequestCount[] = |
| 27 "ntp.request_throttler.suggestion_fetcher.count"; | 30 "ntp.request_throttler.suggestion_fetcher.count"; |
| 28 const char kSnippetFetcherInteractiveRequestCount[] = | 31 const char kSnippetFetcherInteractiveRequestCount[] = |
| 29 "ntp.request_throttler.suggestion_fetcher.interactive_count"; | 32 "ntp.request_throttler.suggestion_fetcher.interactive_count"; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 const char kUserClassifierLastTimeToUseSuggestions[] = | 70 const char kUserClassifierLastTimeToUseSuggestions[] = |
| 68 "ntp_suggestions.user_classifier.last_time_to_use_suggestions"; | 71 "ntp_suggestions.user_classifier.last_time_to_use_suggestions"; |
| 69 | 72 |
| 70 const char kClickBasedCategoryRankerOrderWithClicks[] = | 73 const char kClickBasedCategoryRankerOrderWithClicks[] = |
| 71 "ntp_suggestions.click_based_category_ranker.category_order_with_clicks"; | 74 "ntp_suggestions.click_based_category_ranker.category_order_with_clicks"; |
| 72 const char kClickBasedCategoryRankerLastDecayTime[] = | 75 const char kClickBasedCategoryRankerLastDecayTime[] = |
| 73 "ntp_suggestions.click_based_category_ranker.last_decay_time"; | 76 "ntp_suggestions.click_based_category_ranker.last_decay_time"; |
| 74 | 77 |
| 75 } // namespace prefs | 78 } // namespace prefs |
| 76 } // namespace ntp_snippets | 79 } // namespace ntp_snippets |
| OLD | NEW |