refactor: make StatusIconType an enum class (#36500)

Co-authored-by: Milan Burda <miburda@microsoft.com>
This commit is contained in:
Milan Burda 2022-12-05 09:59:20 +01:00 committed by GitHub
parent 79d2fc9c23
commit 909ee0ed6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 7 deletions

View file

@ -36,9 +36,9 @@ class TrayIconGtk : public TrayIcon, public ui::StatusIconLinux::Delegate {
void OnImplInitializationFailed() override;
private:
enum StatusIconType {
kTypeDbus,
kTypeNone,
enum class StatusIconType {
kDbus,
kNone,
};
scoped_refptr<StatusIconLinuxDbus> status_icon_;