mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
7732482: [bedrock] Create BrowserProcess setters for system tray icons
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/7732482 Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
This commit is contained in:
@@ -357,10 +357,16 @@ HidSystemTrayIcon* BrowserProcessImpl::hid_system_tray_icon() {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
void BrowserProcessImpl::set_hid_system_tray_icon_for_test(
|
||||
std::unique_ptr<HidSystemTrayIcon> icon) {}
|
||||
|
||||
UsbSystemTrayIcon* BrowserProcessImpl::usb_system_tray_icon() {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
void BrowserProcessImpl::set_usb_system_tray_icon_for_test(
|
||||
std::unique_ptr<UsbSystemTrayIcon> icon) {}
|
||||
|
||||
os_crypt_async::OSCryptAsync* BrowserProcessImpl::os_crypt_async() {
|
||||
return os_crypt_async_.get();
|
||||
}
|
||||
|
||||
@@ -121,7 +121,11 @@ class BrowserProcessImpl : public BrowserProcess {
|
||||
resource_coordinator::TabManager* GetTabManager() override;
|
||||
SerialPolicyAllowedPorts* serial_policy_allowed_ports() override;
|
||||
HidSystemTrayIcon* hid_system_tray_icon() override;
|
||||
void set_hid_system_tray_icon_for_test(
|
||||
std::unique_ptr<HidSystemTrayIcon> icon) override;
|
||||
UsbSystemTrayIcon* usb_system_tray_icon() override;
|
||||
void set_usb_system_tray_icon_for_test(
|
||||
std::unique_ptr<UsbSystemTrayIcon> icon) override;
|
||||
os_crypt_async::OSCryptAsync* os_crypt_async() override;
|
||||
void set_additional_os_crypt_async_provider_for_test(
|
||||
size_t precedence,
|
||||
|
||||
Reference in New Issue
Block a user