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

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

Issue 2599743002: Trigger the Snippets Scheduler when Resuming Activities (Closed)
Patch Set: Remove unnecessary "= false". 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 3b36cce073542d003af2ecf0af23daa0559efd34..7436a5da54c383c368e887283d60d21d0c8ab477 100644
--- a/chrome/browser/android/ntp/ntp_snippets_bridge.h
+++ b/chrome/browser/android/ntp/ntp_snippets_bridge.h
@@ -133,6 +133,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