OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 package org.chromium.components.background_task_scheduler; | 5 package org.chromium.components.background_task_scheduler; |
6 | 6 |
7 /** | 7 /** |
8 * This class lists all the unique task IDs used around in Chromium. These are l
isted here to ensure | 8 * This class lists all the unique task IDs used around in Chromium. These are l
isted here to ensure |
9 * that there is no overlap of task IDs between different users of the Backgroun
dTaskScheduler. | 9 * that there is no overlap of task IDs between different users of the Backgroun
dTaskScheduler. |
10 */ | 10 */ |
11 public final class TaskIds { | 11 public final class TaskIds { |
12 public static final int TEST = 0x00008378; | 12 public static final int TEST = 0x00008378; |
13 | 13 |
| 14 public static final int GCM_BACKGROUND_TASK_JOB_ID = 1; |
| 15 public static final int NOTIFICATION_SERVICE_JOB_ID = 21; |
| 16 |
14 private TaskIds() {} | 17 private TaskIds() {} |
15 } | 18 } |
OLD | NEW |