| Index: components/ntp_snippets/pref_names.cc
|
| diff --git a/components/ntp_snippets/pref_names.cc b/components/ntp_snippets/pref_names.cc
|
| index fb5582a6725b6516ca97271710ca138aae67e138..bea67c36392881eb9606578e6767d4c3c2f37d60 100644
|
| --- a/components/ntp_snippets/pref_names.cc
|
| +++ b/components/ntp_snippets/pref_names.cc
|
| @@ -13,18 +13,25 @@ const char kRemoteSuggestionCategories[] = "ntp_snippets.remote_categories";
|
|
|
| const char kSnippetLastFetchAttempt[] = "ntp_snippets.last_fetch_attempt";
|
|
|
| -const char kSnippetSoftFetchingIntervalWifi[] =
|
| - "ntp_snippets.soft_fetching_interval_wifi";
|
| -
|
| -const char kSnippetSoftFetchingIntervalFallback[] =
|
| - "ntp_snippets.soft_fetching_interval_fallback";
|
| -
|
| +// For backwards compatibility, we do not rename the "fetching_" prefs (should
|
| +// be "persistent_fetching_").
|
| const char kSnippetPersistentFetchingIntervalWifi[] =
|
| "ntp_snippets.fetching_interval_wifi";
|
| -
|
| const char kSnippetPersistentFetchingIntervalFallback[] =
|
| "ntp_snippets.fetching_interval_fallback";
|
|
|
| +const char kSnippetStartupFetchingIntervalWifi[] =
|
| + "ntp_snippets.startup_fetching_interval_wifi";
|
| +const char kSnippetStartupFetchingIntervalFallback[] =
|
| + "ntp_snippets.startup_fetching_interval_fallback";
|
| +
|
| +// For backwards compatibility, we do not rename the "soft_fetching_" prefs
|
| +// (should be "shown_fetching_").
|
| +const char kSnippetShownFetchingIntervalWifi[] =
|
| + "ntp_snippets.soft_fetching_interval_wifi";
|
| +const char kSnippetShownFetchingIntervalFallback[] =
|
| + "ntp_snippets.soft_fetching_interval_fallback";
|
| +
|
| const char kSnippetFetcherRequestCount[] =
|
| "ntp.request_throttler.suggestion_fetcher.count";
|
| const char kSnippetFetcherInteractiveRequestCount[] =
|
|
|