| // Copyright 2019 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. |
| |
| #ifndef IOS_CHROME_BROWSER_INFOBARS_INFOBAR_TYPE_H_ |
| #define IOS_CHROME_BROWSER_INFOBARS_INFOBAR_TYPE_H_ |
| |
| // Message Infobars types. Since these are used for metrics, entries should not |
| // be renumbered and numeric values should never be reused. |
| enum class InfobarType { |
| // Generic Infobar that contains a Message and an action Button. |
| kInfobarTypeConfirm = 0, |
| // Message Infobar for Saving a password. |
| kInfobarTypePasswordSave = 1, |
| // Message Infobar for Updating a password. |
| kInfobarTypePasswordUpdate = 2, |
| }; |
| |
| #endif // IOS_CHROME_BROWSER_INFOBARS_INFOBAR_TYPE_H_ |