electron/shell/browser/ui/tray_icon_win.cc
Milan Burda 892c9d78a3
chore: replace absl::optional<T> with std::optional<T> (#40928)
* chore: replace absl::optional<T> with std::optional<T>

* IWYU
2024-01-10 16:23:35 -06:00

16 lines
417 B
C++

// Copyright (c) 2014 GitHub, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include "shell/browser/ui/win/notify_icon.h"
#include "shell/browser/ui/win/notify_icon_host.h"
namespace electron {
// static
TrayIcon* TrayIcon::Create(std::optional<UUID> guid) {
static NotifyIconHost host;
return host.CreateNotifyIcon(guid);
}
} // namespace electron