// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef THIRD_PARTY_BLINK_PUBLIC_PLATFORM_TASK_TYPE_H_ #define THIRD_PARTY_BLINK_PUBLIC_PLATFORM_TASK_TYPE_H_ namespace blink { // A list of task sources known to Blink according to the spec. // This enum is used for a histogram and it should not be re-numbered. // // For the task type usage guideline, see https://bit.ly/2vMAsQ4 // // When a new task type is created: // * Set the new task type's value to "Next value" // * Update kMaxValue to point to the new task type // * Increment "Next value" // * Update TaskTypes.md // // Next value: 87 enum class TaskType : unsigned char { … }; } // namespace blink #endif // THIRD_PARTY_BLINK_PUBLIC_PLATFORM_TASK_TYPE_H_