blob: 7daa487fd17338595485f5e8652d7528cb593751 [file] [log] [blame]
Jack Hsiehd06b1012022-12-13 18:20:141// Copyright 2022 The Chromium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "chrome/browser/hid/hid_pinned_notification.h"
6
Yuta Hijikata761ca452025-03-06 08:53:177#include "build/build_config.h"
Juan Garza Sanchez852a31092023-06-20 20:45:188#include "chrome/browser/device_notifications/device_pinned_notification_renderer.h"
Jack Hsieha10d15a2023-04-25 22:01:109#include "chrome/grit/generated_resources.h"
Jack Hsiehd06b1012022-12-13 18:20:1410
Juan Garza Sanchez852a31092023-06-20 20:45:1811HidPinnedNotification::HidPinnedNotification()
12 : HidSystemTrayIcon(std::make_unique<DevicePinnedNotificationRenderer>(
13 this,
14 "chrome://device_indicator/hid/",
Yuta Hijikata761ca452025-03-06 08:53:1715#if BUILDFLAG(IS_CHROMEOS)
Juan Garza Sanchez852a31092023-06-20 20:45:1816 ash::NotificationCatalogName::kWebHid,
17#endif
18 IDS_WEBHID_SYSTEM_TRAY_ICON_EXTENSION_LIST)) {}
Jack Hsiehd06b1012022-12-13 18:20:1419
20HidPinnedNotification::~HidPinnedNotification() = default;