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

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

Issue 2599743002: Trigger the Snippets Scheduler when Resuming Activities (Closed)
Patch Set: Two separate signals instead of boolean value. 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..3dc3525900e814decb3cdb2ed73d27ae8b089788 100644
--- a/chrome/browser/android/ntp/ntp_snippets_bridge.h
+++ b/chrome/browser/android/ntp/ntp_snippets_bridge.h
@@ -133,6 +133,11 @@ class NTPSnippetsBridge
void OnNTPInitialized(JNIEnv* env,
const base::android::JavaParamRef<jobject>& obj);
+ void OnColdStart(JNIEnv* env,
+ const base::android::JavaParamRef<jobject>& obj);
+ void OnWarmStartedActivityResumed(
+ JNIEnv* env,
+ const base::android::JavaParamRef<jobject>& obj);
static bool Register(JNIEnv* env);

Powered by Google App Engine
This is Rietveld 408576698