| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_KIOSK_APP_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_APP_MANAGER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_APP_MANAGER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_APP_MANAGER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 virtual void Observe(int type, | 125 virtual void Observe(int type, |
| 126 const content::NotificationSource& source, | 126 const content::NotificationSource& source, |
| 127 const content::NotificationDetails& details) OVERRIDE; | 127 const content::NotificationDetails& details) OVERRIDE; |
| 128 | 128 |
| 129 // KioskAppDataDelegate overrides: | 129 // KioskAppDataDelegate overrides: |
| 130 virtual void GetKioskAppIconCacheDir(base::FilePath* cache_dir) OVERRIDE; | 130 virtual void GetKioskAppIconCacheDir(base::FilePath* cache_dir) OVERRIDE; |
| 131 virtual void OnKioskAppDataChanged(const std::string& app_id) OVERRIDE; | 131 virtual void OnKioskAppDataChanged(const std::string& app_id) OVERRIDE; |
| 132 virtual void OnKioskAppDataLoadFailure(const std::string& app_id) OVERRIDE; | 132 virtual void OnKioskAppDataLoadFailure(const std::string& app_id) OVERRIDE; |
| 133 | 133 |
| 134 ScopedVector<KioskAppData> apps_; | 134 ScopedVector<KioskAppData> apps_; |
| 135 std::string auto_launch_app_id_; |
| 135 ObserverList<KioskAppManagerObserver, true> observers_; | 136 ObserverList<KioskAppManagerObserver, true> observers_; |
| 136 | 137 |
| 137 DISALLOW_COPY_AND_ASSIGN(KioskAppManager); | 138 DISALLOW_COPY_AND_ASSIGN(KioskAppManager); |
| 138 }; | 139 }; |
| 139 | 140 |
| 140 } // namespace chromeos | 141 } // namespace chromeos |
| 141 | 142 |
| 142 #endif // CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_APP_MANAGER_H_ | 143 #endif // CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_APP_MANAGER_H_ |
| OLD | NEW |