1 // Copyright 2018 The Chromium Authors. All rights reserved.
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 "ash/system/system_notification_controller.h"
6
7 #include "ash/system/caps_lock_notification_controller.h"
8 #include "ash/system/cast/cast_notification_controller.h"
9 #include "ash/system/gesture_education/gesture_education_notification_controller.h"
10 #include "ash/system/network/auto_connect_notifier.h"
11 #include "ash/system/network/wifi_toggle_notification_controller.h"
12 #include "ash/system/power/power_notification_controller.h"
13 #include "ash/system/screen_security/screen_security_notification_controller.h"
14 #include "ash/system/session/session_limit_notification_controller.h"
15 #include "ash/system/supervised/supervised_notification_controller.h"
16 #include "ash/system/tracing_notification_controller.h"
17 #include "ash/system/update/update_notification_controller.h"
18 #include "ui/message_center/message_center.h"
19
20 namespace ash {
21
SystemNotificationController()22 SystemNotificationController::SystemNotificationController()
23 : auto_connect_(std::make_unique<AutoConnectNotifier>()),
24 caps_lock_(std::make_unique<CapsLockNotificationController>()),
25 cast_(std::make_unique<CastNotificationController>()),
26 gesture_education_(
27 std::make_unique<GestureEducationNotificationController>()),
28 power_(std::make_unique<PowerNotificationController>(
29 message_center::MessageCenter::Get())),
30 screen_security_(
31 std::make_unique<ScreenSecurityNotificationController>()),
32 session_limit_(std::make_unique<SessionLimitNotificationController>()),
33 supervised_(std::make_unique<SupervisedNotificationController>()),
34 tracing_(std::make_unique<TracingNotificationController>()),
35 update_(std::make_unique<UpdateNotificationController>()),
36 wifi_toggle_(std::make_unique<WifiToggleNotificationController>()) {}
37
38 SystemNotificationController::~SystemNotificationController() = default;
39
40 } // namespace ash
41