// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef ASH_PUBLIC_CPP_UPDATE_TYPES_H_ #define ASH_PUBLIC_CPP_UPDATE_TYPES_H_ #include "base/time/time.h" namespace ash { // Urgency of a pending software update. Sets the system tray update icon color. // These correspond to values in UpgradeDetector's // `UpgradeNotificationAnnoyanceLevel` enum. Their use is platform-specific. // Please refer to `UpgradeDetectorChromeos` for details. // TODO(jamescook): `UpgradeDetector::UpgradeNotificationAnnoyanceLevel` could // be replaced with this if this moves into a component shared with non-ash // chrome. enum class UpdateSeverity { … }; // State for deferred system updates. enum class DeferredUpdateState { … }; // Notification state for system updates, set by policies. struct RelaunchNotificationState { … }; } // namespace ash #endif // ASH_PUBLIC_CPP_UPDATE_TYPES_H_