mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-28 16:26:10 +03:00
37 lines
1.2 KiB
Plaintext
37 lines
1.2 KiB
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,
|
||
|
};
|
||
|
|
||
|
// Notification style for system updates, set by different policies.
|
||
|
enum NotificationStyle {
|
||
|
DEFAULT,
|
||
|
ADMIN_RECOMMENDED, // Relaunch Notification policy
|
||
|
ADMIN_REQUIRED, // Relaunch Notification policy
|
||
|
};
|