| Index: components/ntp_snippets/ntp_snippets_service.h
|
| diff --git a/components/ntp_snippets/ntp_snippets_service.h b/components/ntp_snippets/ntp_snippets_service.h
|
| index 13e949afb04dd48467f35c90321bb8acf9c4e08f..7144e451fcebd46e1a3ee87f5c405026455718ef 100644
|
| --- a/components/ntp_snippets/ntp_snippets_service.h
|
| +++ b/components/ntp_snippets/ntp_snippets_service.h
|
| @@ -198,6 +198,11 @@ class NTPSnippetsServiceObserver {
|
| virtual void NTPSnippetsServiceLoaded() = 0;
|
| // Sent when the service is shutting down.
|
| virtual void NTPSnippetsServiceShutdown() = 0;
|
| + // Sent every time the service has its data sources cleared.
|
| + // Note: we use it as signal that the user signed out or disabled sync, but it
|
| + // can be triggered in other cases, when the suggestions service returns no
|
| + // hosts. (e.g. the user manually removed all MostLikely tiles.)
|
| + virtual void NTPSnippetsServiceCleared() = 0;
|
|
|
| protected:
|
| virtual ~NTPSnippetsServiceObserver() {}
|
|
|