notifier_catalogs.h 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  1. // Copyright 2022 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef ASH_CONSTANTS_NOTIFIER_CATALOGS_H_
  5. #define ASH_CONSTANTS_NOTIFIER_CATALOGS_H_
  6. namespace ash {
  7. // A living catalog that registers notifications.
  8. // Current values should not be renumbered or removed. Please keep in sync with
  9. // "NotificationCatalogName" in tools/metrics/histograms/enums.xml.
  10. // To deprecate comment out the entry.
  11. enum class NotificationCatalogName {
  12. kNone = 0,
  13. kTestCatalogName = 1,
  14. kManagementTransition = 2,
  15. kAuthpolicyCredentialsError = 3,
  16. kUnauthorizedBattery = 4,
  17. kNonWilcoCharger = 5,
  18. kIncompatibleDock = 6,
  19. kDockError = 7,
  20. KDockDisplayError = 8,
  21. kDockThunderboltError = 9,
  22. kWilcoLowPowerCharger = 10,
  23. kDeprecatedAccelerator = 11,
  24. // [Deprecated] kShortcutsChanged = 12,
  25. kDockedMagnifierEnabled = 13,
  26. kHighContrastEnabled = 14,
  27. kFullScreenMagnifierEnabled = 15,
  28. kAccessibilityFeatureDisabled = 16,
  29. kDisplayError = 17,
  30. kDisplayChange = 18,
  31. kDualRole = 19,
  32. kEOL = 20,
  33. kPendingEOL = 21,
  34. kHats = 22,
  35. kKerberosTicketExpiry = 23,
  36. kMobileData = 24,
  37. kMultiDevice = 25,
  38. kNetworkOutOfCredits = 26,
  39. kNetworkConnectionError = 27,
  40. kNetworkVPNConnectionLost = 28,
  41. kNetworkCellularActivated = 29,
  42. kNetworkActivationError = 30,
  43. kPasswordExpiry = 31,
  44. kDeviceAccountSigninError = 32,
  45. kSecondaryAccountSigninError = 33,
  46. kSyncError = 34,
  47. kTetherPotentialHotspot = 35,
  48. kTetherSetupRequired = 36,
  49. kTetherConnectionError = 37,
  50. kScreenTimeLimitUpdated = 38,
  51. kBedtimeUpdated = 39,
  52. kTimeLimitOverride = 40,
  53. kScreenTimeLimit = 41,
  54. kBedtimeLimit = 42,
  55. kTPMFirmwareUpdate = 43,
  56. kU2F = 44,
  57. kReleaseNotes = 45,
  58. kSMS = 46,
  59. kAssistantNotification = 47,
  60. kFastPair = 48,
  61. // [Deprecated] kPowerNotifier = 49,
  62. kBatteryNotifier = 50,
  63. kMicrophoneMute = 51,
  64. kCast = 52,
  65. kSessionLengthTimeout = 53,
  66. kLocaleUpdate = 54,
  67. kTracing = 55,
  68. kPcieBillboardDevice = 56,
  69. kPcieLimitedPerformance = 57,
  70. kPcieGuestMode = 58,
  71. kPciePeripheralBlocked = 59,
  72. kDetachableBaseRequiresUpdate = 60,
  73. kDetachableBasePairingNotification = 61,
  74. kFirmwareUpdate = 62,
  75. kPeripheralBattery = 63,
  76. kBluetoothPairingRequest = 64,
  77. kBluetoothPairedDevice = 65,
  78. kCellularSetup = 66,
  79. kScreenSecurity = 67,
  80. kWifiToggle = 68,
  81. kUSBPeripheralInvalidDpCable = 69,
  82. kUSBPeripheralInvalidUSB4ValidTBTCable = 70,
  83. kUSBPeripheralInvalidUSB4Cable = 71,
  84. kUSBPeripheralInvalidTBTCable = 72,
  85. kUSBPeripheralSpeedLimitingCable = 73,
  86. kGestureEducation = 74,
  87. kUpdate = 75,
  88. kArcSnapshotReboot = 76,
  89. kPhoneHubTetherFailed = 77,
  90. kCapsLock = 78,
  91. kNightLight = 79,
  92. kPluginVMUninstaller = 80,
  93. // [Deprecated] kTPMAutoUpdate = 81,
  94. kIt2MeConfirmation = 82,
  95. kHPSNotify = 83,
  96. kNearbyShare = 84,
  97. kUpdateRequired = 85,
  98. kFileSystemProvider = 86,
  99. kEasyUnlockChromebookAdded = 87,
  100. kEasyUnlockPairingChange = 88,
  101. kEasyUnlockPairingChangeApplied = 89,
  102. kEasyUnlockSmartLockSignInRemoved = 90,
  103. kSystemProxy = 91,
  104. kDlpPolicy = 92,
  105. kPacketCapture = 93,
  106. kEcheAppRetryConnection = 94,
  107. kEcheAppInactivity = 95,
  108. kEcheAppFromWebWithoutButton = 96,
  109. kEcheAppScreenLock = 97,
  110. // [Deprecated] kAccessibility = 98,
  111. kProjector = 99,
  112. kWebsiteApproval = 100,
  113. kArcMigrationGuide = 101,
  114. kBorealisContext = 102,
  115. kArcProvision = 103,
  116. kUsbPrinter = 104,
  117. kCupsPrintJob = 105,
  118. kArcBootError = 106,
  119. kDeviceCommandReset = 107,
  120. kCrostiniLowDisk = 108,
  121. kScreenCapture = 109,
  122. kLowDisk = 110,
  123. kEventRewriterDeprecation = 111,
  124. kVMCameraMic = 112,
  125. kSecurityToken = 113,
  126. kCrostiniExportImport = 114,
  127. kLacrosCannotLaunch = 115,
  128. kRequestFileSystem = 116,
  129. kNetworkPortalDetector = 117,
  130. kCrostiniPackage = 118,
  131. kCrostiniUpgradeAvailable = 119,
  132. kFullRestore = 120,
  133. kAdbSideloadingDisallowed = 121,
  134. kAdbSideloadingPowerwashPlanned = 122,
  135. kAdbSideloadingPowerwashOnReboot = 123,
  136. kAppTime = 124,
  137. kCrosUSBDetector = 125,
  138. kPowerwashRequest = 126,
  139. kPowerwashRequestError = 127,
  140. kCameraPrivacySwitch = 128,
  141. kAutoLaunch = 129,
  142. kPasswordChange = 130,
  143. kAnnouncementNotification = 131,
  144. kWebUsb = 132,
  145. kBackgroundCrash = 133,
  146. kDownloadNotification = 134,
  147. kAdaptiveCharging = 135,
  148. kManagedSimLock = 136,
  149. kSpokenFeedbackEnabled = 137,
  150. kBrailleDisplayConnected = 138,
  151. kSpokenFeedbackBrailleEnabled = 139,
  152. kSwitchAccessEnabled = 140,
  153. kSpeechRecognitionFilesDownloaded = 141,
  154. kSpeechRecognitionFilesFailed = 142,
  155. kLowPowerCharger = 143,
  156. kLowPowerAdapter = 144,
  157. kTPMAutoUpdatePlanned = 145,
  158. kTPMAutoUpdateOnReboot = 146,
  159. kPrivacyIndicators = 147,
  160. kTailoredSecurityDisabled = 148,
  161. kTailoredSecurityEnabled = 149,
  162. kTailoredSecurityPromotion = 150,
  163. kArcLowDiskSpacePreStop = 151,
  164. kArcLowDiskSpacePostStop = 152,
  165. kMaxValue = kArcLowDiskSpacePostStop
  166. };
  167. // A living catalog that registers system nudges.
  168. // Current values should not be renumbered or removed.
  169. // To deprecate comment out the entry.
  170. enum class NudgeCatalogName {
  171. kTestCatalogName = 0,
  172. kDictation = 1,
  173. kMultipaste = 2,
  174. kDarkLightMode = 3,
  175. kAutozoom = 4,
  176. kAdaptiveCharging = 5,
  177. kMaxValue = kAdaptiveCharging,
  178. };
  179. // A living catalog that registers toasts.
  180. // Current values should not be renumbered or removed. Please keep in sync with
  181. // "ToastCatalogName" in tools/metrics/histograms/enums.xml.
  182. // To deprecate comment out the entry.
  183. enum class ToastCatalogName {
  184. kVirtualDesksLimitMax = 0,
  185. kVirtualDesksLimitMin = 1,
  186. kAssistantError = 2,
  187. kDebugCommand = 3,
  188. kAssistantUnboundService = 4,
  189. kStylusPrompt = 5,
  190. kAppResizable = 6,
  191. kKioskAppError = 7,
  192. kBluetoothDevicePaired = 8,
  193. kBluetoothDeviceDisconnected = 9,
  194. kBluetoothDeviceConnected = 10,
  195. kBluetoothAdapterDiscoverable = 11,
  196. kEncourageUnlock = 12,
  197. kNetworkAutoConnect = 13,
  198. kAssistantLoading = 14,
  199. kToastManagerUnittest = 15,
  200. kMaximumDeskLaunchTemplate = 16,
  201. kEnterOverviewGesture = 17,
  202. kExitOverviewGesture = 18,
  203. kNextDeskGesture = 19,
  204. kPreviousDeskGesture = 20,
  205. kMoveVisibleOnAllDesksWindow = 21,
  206. kAppCannotSnap = 22,
  207. kCrostiniUnsupportedVirtualKeyboard = 23,
  208. kCrostiniUnsupportedIME = 24,
  209. kCopyToClipboardShareAction = 25,
  210. kClipboardBlockedAction = 26,
  211. kClipboardWarnOnPaste = 27,
  212. kAppNotAvailable = 28,
  213. kCameraPrivacySwitchOff = 29,
  214. kCameraPrivacySwitchOn = 30,
  215. kExtensionInstallSuccess = 31,
  216. kAccountRemoved = 32,
  217. kDeskTemplateTooLarge = 33,
  218. kUndoCloseAll = 34,
  219. kEcheAppToast = 35,
  220. kDeprecateAssistantStylus = 36,
  221. kEcheTrayCopyPasteNotImplemented = 37,
  222. kEcheTrayTabletModeNotSupported = 38,
  223. kMaxValue = kEcheTrayTabletModeNotSupported,
  224. };
  225. } // namespace ash
  226. #endif // ASH_CONSTANTS_NOTIFIER_CATALOGS_H_