OLD | NEW |
| (Empty) |
1 // Copyright 2016 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 #ifndef CHROME_BROWSER_CHROMEOS_ARC_ARC_BOOT_ERROR_NOTIFICATION_H_ | |
6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_BOOT_ERROR_NOTIFICATION_H_ | |
7 | |
8 #include "base/macros.h" | |
9 #include "components/arc/arc_bridge_service.h" | |
10 #include "components/arc/arc_service.h" | |
11 | |
12 namespace arc { | |
13 | |
14 // Watches for ARC boot errors and show notifications. | |
15 class ArcBootErrorNotification : public ArcService, | |
16 public ArcBridgeService::Observer { | |
17 public: | |
18 explicit ArcBootErrorNotification(ArcBridgeService* bridge_service); | |
19 ~ArcBootErrorNotification() override; | |
20 | |
21 // ArcBridgeService::Observer | |
22 void OnBridgeStopped(ArcBridgeService::StopReason reason) override; | |
23 | |
24 private: | |
25 DISALLOW_COPY_AND_ASSIGN(ArcBootErrorNotification); | |
26 }; | |
27 | |
28 } // namespace arc | |
29 | |
30 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_BOOT_ERROR_NOTIFICATION_H_ | |
OLD | NEW |