Check USB device path access when prompting users to select a device.
[chromium-blink-merge.git] / chrome / browser / chromeos / app_mode / kiosk_app_manager_observer.h
blobac93e12f925f7df5170096ee1ba1088aa24a21da
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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_APP_MANAGER_OBSERVER_H_
6 #define CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_APP_MANAGER_OBSERVER_H_
8 #include <string>
10 namespace chromeos {
12 class KioskAppManagerObserver {
13 public:
14 // Invoked when the app data is changed or loading state is changed.
15 virtual void OnKioskAppDataChanged(const std::string& app_id) {}
17 // Invoked when failed to load web store data of an app.
18 virtual void OnKioskAppDataLoadFailure(const std::string& app_id) {}
20 // Invoked when the extension is loaded in cache.
21 virtual void OnKioskExtensionLoadedInCache(const std::string& app_id) {}
23 // Invoked when the extension download fails.
24 virtual void OnKioskExtensionDownloadFailed(const std::string& app_id) {}
26 // Invoked when the Kiosk Apps configuration changes.
27 virtual void OnKioskAppsSettingsChanged() {}
29 // Invoked when kiosk app cache is updated for |app_id|.
30 virtual void OnKioskAppCacheUpdated(const std::string& app_id) {}
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) {}
36 protected:
37 virtual ~KioskAppManagerObserver() {}
40 } // namespace chromeos
42 #endif // CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_APP_MANAGER_OBSERVER_H_