naiveproxy/ash/public/interfaces/update.mojom
2018-08-14 22:19:20 +00:00

30 lines
996 B
Plaintext

// Copyright 2016 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.
module ash.mojom;
// 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. On
// Chrome OS, LOW severity is issued when an update is detected. ELEVATED
// follows after two days, and HIGH two days after that. These time deltas may
// be overridden by administrators via the RelaunchNotificationPeriod policy
// setting.
// TODO(jamescook): UpgradeDetector::UpgradeNotificationAnnoyanceLevel could be
// replaced with this if this moves into a component shared with non-ash chrome.
enum UpdateSeverity {
NONE,
VERY_LOW,
LOW,
ELEVATED,
HIGH,
CRITICAL,
};
// The type of update being applied. Sets the string in the system tray.
enum UpdateType {
FLASH,
SYSTEM,
};