| Index: components/ntp_snippets/content_suggestions_service.h
|
| diff --git a/components/ntp_snippets/content_suggestions_service.h b/components/ntp_snippets/content_suggestions_service.h
|
| index d572b737ec6c4eb4322614f905eae7f04d150c09..488aeab7388c3e1219a5eca831d327b0b2f6d5ce 100644
|
| --- a/components/ntp_snippets/content_suggestions_service.h
|
| +++ b/components/ntp_snippets/content_suggestions_service.h
|
| @@ -105,31 +105,17 @@
|
|
|
| // Only for debugging use through the internals page.
|
| // Removes all suggestions from all caches or internal stores in all
|
| - // providers. See |ClearCachedSuggestionsForDebugging|.
|
| - void ClearAllCachedSuggestionsForDebugging();
|
| -
|
| - // Only for debugging use through the internals page.
|
| - // Removes all suggestions of the given |category| from all caches or internal
|
| - // stores in the service and the corresponding provider. It does, however, not
|
| - // remove any suggestions from the provider's sources, so if its configuration
|
| - // hasn't changed, it might return the same results when it fetches the next
|
| - // time. In particular, calling this method will not mark any suggestions as
|
| - // dismissed.
|
| - void ClearCachedSuggestionsForDebugging(Category category);
|
| -
|
| - // Only for debugging use through the internals page.
|
| - // Retrieves suggestions of the given |category| that have previously been
|
| - // dismissed and are still stored in the respective provider. If the
|
| - // provider doesn't store dismissed suggestions, this returns an empty vector.
|
| - std::vector<ContentSuggestion> GetDismissedSuggestionsForDebugging(
|
| - Category category);
|
| + // providers. It does, however, not remove any suggestions from the provider's
|
| + // sources, so if their configuration hasn't changed, they should return the
|
| + // same results when they fetch the next time. In particular, calling this
|
| + // method will not mark any suggestions as dismissed.
|
| + void ClearCachedSuggestionsForDebugging();
|
|
|
| // Only for debugging use through the internals page. Some providers
|
| // internally store a list of dismissed suggestions to prevent them from
|
| - // reappearing. This function clears all suggestions of the given |category|
|
| - // from such lists, making dismissed suggestions reappear (if the provider
|
| - // supports it).
|
| - void ClearDismissedSuggestionsForDebugging(Category category);
|
| + // reappearing. This function clears all such lists in all providers, making
|
| + // dismissed suggestions reappear (only for certain providers).
|
| + void ClearDismissedSuggestionsForDebugging();
|
|
|
| CategoryFactory* category_factory() { return &category_factory_; }
|
|
|
|
|