// 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 CHROME_BROWSER_KEYBOARD_ACCESSORY_ANDROID_ACCESSORY_SHEET_ENUMS_H_ #define CHROME_BROWSER_KEYBOARD_ACCESSORY_ANDROID_ACCESSORY_SHEET_ENUMS_H_ namespace autofill { // Describes the different types of accessory sheets. // Used to record metrics specific to a tab types (e.g. passwords, payments). // These values are persisted to logs. Entries should not be renumbered and // numeric values should never be reused. Must be kept in sync with the suffix // AccessorySheetType in histogram.xml. A java IntDef@ is generated from this. // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.chrome.browser.keyboard_accessory enum class AccessoryTabType { … }; // Describes possible actions in the keyboard accessory and its sheets. Used to // distinguish specific actions and links. // Additionally, they are used to record metrics for the associated action. // Therefore, entries should not be renumbered and numeric values should never // be reused. Must be kept in sync with the enum in enums.xml. A java IntDef@ is // generated from this. // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.chrome.browser.keyboard_accessory enum class AccessoryAction { … }; // Used to record metrics for accessory toggles. Entries should not be // renumbered and numeric values should never be reused. Must be kept in sync // with the enum in enums.xml. A java IntDef@ is generated from this. // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.chrome.browser.keyboard_accessory enum class AccessoryToggleType { … }; } // namespace autofill #endif // CHROME_BROWSER_KEYBOARD_ACCESSORY_ANDROID_ACCESSORY_SHEET_ENUMS_H_