892c9d78a3
* chore: replace absl::optional<T> with std::optional<T> * IWYU
16 lines
417 B
C++
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
|