commit | fe82692bdf98fe78deace15edb9bd8caf9cc19dc | [log] [tgz] |
---|---|---|
author | Mugdha Lakhani <[email protected]> | Fri Feb 08 13:08:40 2019 |
committer | Commit Bot <[email protected]> | Fri Feb 08 13:08:40 2019 |
tree | e0c206523b455201f868e8b7ecb3e2f218007a0b | |
parent | 19f711cc3061119798209725204f2bdcb5dc456f [diff] [blame] |
[BackgroundSync] Use BackgroundTaskScheduler. Use BackgroundTaskScheduler to wake up Chrome for Android, if the newly introduced feature flag is enabled. Bug: 924490 Change-Id: Iaa42ff2c10af4fbb466e8d892ccf626ee1827cd6 Reviewed-on: https://chromium-review.googlesource.com/c/1432840 Commit-Queue: Mugdha Lakhani <[email protected]> Reviewed-by: Peter Beverloo <[email protected]> Reviewed-by: Rayan Kanso <[email protected]> Reviewed-by: David Trainor <[email protected]> Reviewed-by: Ilya Sherman <[email protected]> Cr-Commit-Position: refs/heads/master@{#630285}
diff --git a/chrome/browser/android/background_sync_launcher_android.h b/chrome/browser/android/background_sync_launcher_android.h index be547a8..0c93da7 100644 --- a/chrome/browser/android/background_sync_launcher_android.h +++ b/chrome/browser/android/background_sync_launcher_android.h
@@ -40,7 +40,10 @@ void LaunchBrowserIfStoppedImpl(bool launch_when_next_online, int64_t min_delay_ms); - base::android::ScopedJavaGlobalRef<jobject> java_launcher_; + base::android::ScopedJavaGlobalRef<jobject> + java_gcm_network_manager_launcher_; + base::android::ScopedJavaGlobalRef<jobject> + java_background_sync_background_task_scheduler_launcher_; DISALLOW_COPY_AND_ASSIGN(BackgroundSyncLauncherAndroid); };