Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Unified Diff: chrome/browser/android/ntp/ntp_snippets_bridge.h

Issue 2599743002: Trigger the Snippets Scheduler when Resuming Activities (Closed)
Patch Set: Rebase Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/android/ntp/ntp_snippets_bridge.h
diff --git a/chrome/browser/android/ntp/ntp_snippets_bridge.h b/chrome/browser/android/ntp/ntp_snippets_bridge.h
index 6fadcb9555ab47e89915768d81ec00fbc72e4bcd..24856e8a491df61ce5b8a20bb4cae39b2430df39 100644
--- a/chrome/browser/android/ntp/ntp_snippets_bridge.h
+++ b/chrome/browser/android/ntp/ntp_snippets_bridge.h
@@ -130,6 +130,10 @@ class NTPSnippetsBridge
void OnNTPInitialized(JNIEnv* env,
const base::android::JavaParamRef<jobject>& obj);
+ void OnColdStart(JNIEnv* env,
+ const base::android::JavaParamRef<jobject>& obj);
+ void OnActivityWarmResumed(JNIEnv* env,
+ const base::android::JavaParamRef<jobject>& obj);
static bool Register(JNIEnv* env);

Powered by Google App Engine
This is Rietveld 408576698