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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationService.java

Issue 2690163008: Route through a JobService when receiving a message for the GCM Driver (Closed)
Patch Set: Route through a JobService when receiving a message for the GCM Driver Created 3 years, 10 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/android/java/src/org/chromium/chrome/browser/notifications/NotificationService.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationService.java b/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationService.java
index 15f833e3258b98be6f2c16424371055b34198558..65a4b97d99638af3fafb3bd120b1ee5ba3f3fd5e 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationService.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationService.java
@@ -19,6 +19,7 @@ import android.util.Log;
import org.chromium.base.ThreadUtils;
import org.chromium.base.annotations.SuppressFBWarnings;
import org.chromium.base.library_loader.ProcessInitException;
+import org.chromium.chrome.browser.JobSchedulerConstants;
import org.chromium.chrome.browser.init.ChromeBrowserInitializer;
import org.chromium.chrome.browser.webapps.WebappRegistry;
@@ -48,7 +49,7 @@ public class NotificationService extends IntentService {
PersistableBundle extras = NotificationJobService.getJobExtrasFromIntent(intent);
JobInfo job =
new JobInfo
- .Builder(NotificationJobService.JOB_ID,
+ .Builder(JobSchedulerConstants.NOTIFICATION_SERVICE_JOB_ID,
new ComponentName(context, NotificationJobService.class))
.setExtras(extras)
.setOverrideDeadline(0)

Powered by Google App Engine
This is Rietveld 408576698