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_OBSERVER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_APP_MANAGER_OBSERVER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_APP_MANAGER_OBSERVER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_APP_MANAGER_OBSERVER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 namespace chromeos { | 10 namespace chromeos { |
(...skipping 11 matching lines...) Expand all Loading... |
22 | 22 |
23 // Invoked when the extension download fails. | 23 // Invoked when the extension download fails. |
24 virtual void OnKioskExtensionDownloadFailed(const std::string& app_id) {} | 24 virtual void OnKioskExtensionDownloadFailed(const std::string& app_id) {} |
25 | 25 |
26 // Invoked when the Kiosk Apps configuration changes. | 26 // Invoked when the Kiosk Apps configuration changes. |
27 virtual void OnKioskAppsSettingsChanged() {} | 27 virtual void OnKioskAppsSettingsChanged() {} |
28 | 28 |
29 // Invoked when kiosk app cache is updated for |app_id|. | 29 // Invoked when kiosk app cache is updated for |app_id|. |
30 virtual void OnKioskAppCacheUpdated(const std::string& app_id) {} | 30 virtual void OnKioskAppCacheUpdated(const std::string& app_id) {} |
31 | 31 |
| 32 // Invoked when kiosk app updating from usb stick has been completed. |
| 33 // |success| indicates if all the updates are completed successfully. |
| 34 virtual void OnKioskAppExternalUpdateComplete(bool success) {} |
| 35 |
32 protected: | 36 protected: |
33 virtual ~KioskAppManagerObserver() {} | 37 virtual ~KioskAppManagerObserver() {} |
34 }; | 38 }; |
35 | 39 |
36 } // namespace chromeos | 40 } // namespace chromeos |
37 | 41 |
38 #endif // CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_APP_MANAGER_OBSERVER_H_ | 42 #endif // CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_APP_MANAGER_OBSERVER_H_ |
OLD | NEW |