| Index: components/ntp_snippets/remote/remote_suggestions_provider.h
|
| diff --git a/components/ntp_snippets/remote/remote_suggestions_provider.h b/components/ntp_snippets/remote/remote_suggestions_provider.h
|
| index 1c39bb8b8c8972a48d2b82db23751c7c0c9a92bc..a914feddfd13cdeca8873531dcb37d72167470fc 100644
|
| --- a/components/ntp_snippets/remote/remote_suggestions_provider.h
|
| +++ b/components/ntp_snippets/remote/remote_suggestions_provider.h
|
| @@ -27,6 +27,7 @@
|
| #include "components/ntp_snippets/content_suggestions_provider.h"
|
| #include "components/ntp_snippets/remote/ntp_snippet.h"
|
| #include "components/ntp_snippets/remote/ntp_snippets_fetcher.h"
|
| +#include "components/ntp_snippets/remote/ntp_snippets_request_params.h"
|
| #include "components/ntp_snippets/remote/ntp_snippets_scheduler.h"
|
| #include "components/ntp_snippets/remote/remote_suggestions_status_service.h"
|
| #include "components/ntp_snippets/remote/request_throttler.h"
|
| @@ -148,6 +149,9 @@ class RemoteSuggestionsProvider final : public ContentSuggestionsProvider {
|
| // and request lower latency processing.
|
| void FetchSnippetsForAllCategories();
|
|
|
| + // Only used in tests and for debugging in snippets-internal/.
|
| + // TODO(fhorschig): Remove this getter when there is an interface for the
|
| + // fetcher that allows better mocks.
|
| const NTPSnippetsFetcher* snippets_fetcher() const {
|
| return snippets_fetcher_.get();
|
| }
|
| @@ -393,7 +397,7 @@ class RemoteSuggestionsProvider final : public ContentSuggestionsProvider {
|
| void RestoreCategoriesFromPrefs();
|
| void StoreCategoriesToPrefs();
|
|
|
| - NTPSnippetsFetcher::Params BuildFetchParams() const;
|
| + NTPSnippetsRequestParams BuildFetchParams() const;
|
|
|
| void MarkEmptyCategoriesAsLoading();
|
|
|
|
|