OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_CHROMEOS_APP_MODE_ARC_ARC_KIOSK_APP_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_APP_MODE_ARC_ARC_KIOSK_APP_MANAGER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_APP_MODE_ARC_ARC_KIOSK_APP_MANAGER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_APP_MODE_ARC_ARC_KIOSK_APP_MANAGER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 std::string name_; | 48 std::string name_; |
49 }; | 49 }; |
50 | 50 |
51 using ArcKioskApps = std::vector<ArcKioskApp>; | 51 using ArcKioskApps = std::vector<ArcKioskApp>; |
52 | 52 |
53 class ArcKioskAppManagerObserver { | 53 class ArcKioskAppManagerObserver { |
54 public: | 54 public: |
55 virtual void OnArcKioskAppsChanged() {} | 55 virtual void OnArcKioskAppsChanged() {} |
56 | 56 |
57 protected: | 57 protected: |
58 virtual ~ArcKioskAppManagerObserver() {} | 58 virtual ~ArcKioskAppManagerObserver() = default; |
59 }; | 59 }; |
60 | 60 |
61 static ArcKioskAppManager* Get(); | 61 static ArcKioskAppManager* Get(); |
62 | 62 |
63 ArcKioskAppManager(); | 63 ArcKioskAppManager(); |
64 ~ArcKioskAppManager(); | 64 ~ArcKioskAppManager(); |
65 | 65 |
66 // Registers kiosk app entries in local state. | 66 // Registers kiosk app entries in local state. |
67 static void RegisterPrefs(PrefRegistrySimple* registry); | 67 static void RegisterPrefs(PrefRegistrySimple* registry); |
68 | 68 |
(...skipping 28 matching lines...) Expand all Loading... |
97 local_accounts_subscription_; | 97 local_accounts_subscription_; |
98 std::unique_ptr<CrosSettings::ObserverSubscription> | 98 std::unique_ptr<CrosSettings::ObserverSubscription> |
99 local_account_auto_login_id_subscription_; | 99 local_account_auto_login_id_subscription_; |
100 | 100 |
101 DISALLOW_COPY_AND_ASSIGN(ArcKioskAppManager); | 101 DISALLOW_COPY_AND_ASSIGN(ArcKioskAppManager); |
102 }; | 102 }; |
103 | 103 |
104 } // namespace chromeos | 104 } // namespace chromeos |
105 | 105 |
106 #endif // CHROME_BROWSER_CHROMEOS_APP_MODE_ARC_ARC_KIOSK_APP_MANAGER_H_ | 106 #endif // CHROME_BROWSER_CHROMEOS_APP_MODE_ARC_ARC_KIOSK_APP_MANAGER_H_ |
OLD | NEW |