| Index: components/ntp_snippets/remote/remote_suggestions_provider.cc
|
| diff --git a/components/ntp_snippets/remote/remote_suggestions_provider.cc b/components/ntp_snippets/remote/remote_suggestions_provider.cc
|
| index fe0c01a8cea1c56a265ba5ea6c79d5e33e90eee3..3e25eb6013cc868eb5019ed9e6dbeb7b44e2282a 100644
|
| --- a/components/ntp_snippets/remote/remote_suggestions_provider.cc
|
| +++ b/components/ntp_snippets/remote/remote_suggestions_provider.cc
|
| @@ -504,6 +504,16 @@ void RemoteSuggestionsProvider::ClearCachedSuggestions(Category category) {
|
| }
|
| }
|
|
|
| +void RemoteSuggestionsProvider::OnSignInStateChanged() {
|
| + // Make sure the status service is registered and we already initialised its
|
| + // start state.
|
| + if (!initialized()) {
|
| + return;
|
| + }
|
| +
|
| + snippets_status_service_->OnSignInStateChanged();
|
| +}
|
| +
|
| void RemoteSuggestionsProvider::GetDismissedSuggestionsForDebugging(
|
| Category category,
|
| const DismissedSuggestionsCallback& callback) {
|
|
|