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

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

Issue 2599743002: Trigger the Snippets Scheduler when Resuming Activities (Closed)
Patch Set: Used ActivityStateListener and renamed/dropped event functions. Created 3 years, 12 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 5baf93ba1fde798b09e300162da9af1580a4daba..c47a71531c53a10552d96785c6865db7321d8487 100644
--- a/chrome/browser/android/ntp/ntp_snippets_bridge.h
+++ b/chrome/browser/android/ntp/ntp_snippets_bridge.h
@@ -131,6 +131,9 @@ class NTPSnippetsBridge
jint j_category_id,
jint position);
+ void OnActivityResumed(JNIEnv* env,
+ const base::android::JavaParamRef<jobject>& obj);
+
static bool Register(JNIEnv* env);
private:

Powered by Google App Engine
This is Rietveld 408576698