| Index: chrome/browser/android/ntp/ntp_snippets_bridge.cc
|
| diff --git a/chrome/browser/android/ntp/ntp_snippets_bridge.cc b/chrome/browser/android/ntp/ntp_snippets_bridge.cc
|
| index 026dfe42a4ce38f7c3f33af2c304a6bad634a160..122661892900ed88b9c5e87534237edb00a30f05 100644
|
| --- a/chrome/browser/android/ntp/ntp_snippets_bridge.cc
|
| +++ b/chrome/browser/android/ntp/ntp_snippets_bridge.cc
|
| @@ -434,6 +434,15 @@ void NTPSnippetsBridge::OnSuggestionInvalidated(
|
| ConvertUTF8ToJavaString(env, suggestion_id.id_within_category()).obj());
|
| }
|
|
|
| +void NTPSnippetsBridge::OnFullRefreshRequired() {
|
| + if (observer_.is_null()) {
|
| + return;
|
| + }
|
| +
|
| + JNIEnv* env = base::android::AttachCurrentThread();
|
| + Java_SnippetsBridge_onFullRefreshRequired(env, observer_.obj());
|
| +}
|
| +
|
| void NTPSnippetsBridge::ContentSuggestionsServiceShutdown() {
|
| observer_.Reset();
|
| content_suggestions_service_observer_.Remove(content_suggestions_service_);
|
|
|