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 public static final int OMAHA_JOB_ID = 0x00011684; | 13 public static final int OMAHA_JOB_ID = 0x00011684; |
14 | 14 |
15 public static final int GCM_BACKGROUND_TASK_JOB_ID = 1; | 15 public static final int GCM_BACKGROUND_TASK_JOB_ID = 1; |
16 public static final int NOTIFICATION_SERVICE_JOB_ID = 21; | 16 public static final int NOTIFICATION_SERVICE_JOB_ID = 21; |
| 17 public static final int WEBVIEW_MINIDUMP_UPLOADING_JOB_ID = 42; |
| 18 public static final int CHROME_MINIDUMP_UPLOADING_JOB_ID = 43; |
17 public static final int OFFLINE_PAGES_BACKGROUND_JOB_ID = 77; | 19 public static final int OFFLINE_PAGES_BACKGROUND_JOB_ID = 77; |
18 | 20 |
19 private TaskIds() {} | 21 private TaskIds() {} |
20 } | 22 } |
OLD | NEW |