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

Unified Diff: components/background_task_scheduler/android/java/src/org/chromium/components/background_task_scheduler/TaskIds.java

Issue 2714463002: [android] Add JobScheduler-based BackgroundTaskScheduler. (Closed)
Patch Set: FindBugs wants the real Pi, but I won't give it. 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: components/background_task_scheduler/android/java/src/org/chromium/components/background_task_scheduler/TaskIds.java
diff --git a/components/background_task_scheduler/android/java/src/org/chromium/components/background_task_scheduler/TaskIds.java b/components/background_task_scheduler/android/java/src/org/chromium/components/background_task_scheduler/TaskIds.java
new file mode 100644
index 0000000000000000000000000000000000000000..72540e58aa9bd98f0d0501c5e0b51c5f4a23a893
--- /dev/null
+++ b/components/background_task_scheduler/android/java/src/org/chromium/components/background_task_scheduler/TaskIds.java
@@ -0,0 +1,15 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package org.chromium.components.background_task_scheduler;
+
+/**
+ * This class lists all the unique task IDs used around in Chromium. These are listed here to ensure
+ * that there is no overlap of task IDs between different users of the BackgroundTaskScheduler.
+ */
+public final class TaskIds {
+ public static final int TEST = 0x00008378;
+
+ private TaskIds() {}
+}

Powered by Google App Engine
This is Rietveld 408576698