blob: e9cbde93f6b87c971d17ad0e299479e2fc69ad85 [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
Juan Garza Sanchez852a31092023-06-20 20:45:187#include "chrome/browser/device_notifications/device_pinned_notification_renderer.h"
Jack Hsieha10d15a2023-04-25 22:01:108#include "chrome/grit/generated_resources.h"
Jack Hsiehd06b1012022-12-13 18:20:149
Juan Garza Sanchez852a31092023-06-20 20:45:1810HidPinnedNotification::HidPinnedNotification()
11 : HidSystemTrayIcon(std::make_unique<DevicePinnedNotificationRenderer>(
12 this,
13 "chrome://device_indicator/hid/",
14#if BUILDFLAG(IS_CHROMEOS_ASH)
15 ash::NotificationCatalogName::kWebHid,
16#endif
17 IDS_WEBHID_SYSTEM_TRAY_ICON_EXTENSION_LIST)) {}
Jack Hsiehd06b1012022-12-13 18:20:1418
19HidPinnedNotification::~HidPinnedNotification() = default;