Chromium Code Reviews| Index: chrome/browser/chromeos/app_mode/kiosk_app_manager.h |
| diff --git a/chrome/browser/chromeos/app_mode/kiosk_app_manager.h b/chrome/browser/chromeos/app_mode/kiosk_app_manager.h |
| index aff5898ef6151e07bc5e2006f68596c2d90ff1ea..72d511c7f5cf8238989334ec8e4829ac57f91084 100644 |
| --- a/chrome/browser/chromeos/app_mode/kiosk_app_manager.h |
| +++ b/chrome/browser/chromeos/app_mode/kiosk_app_manager.h |
| @@ -38,6 +38,7 @@ class KioskAppData; |
| class KioskAppExternalLoader; |
| class KioskAppManagerObserver; |
| class KioskExternalUpdater; |
| +class OwnerSettingsServiceChromeOS; |
| // KioskAppManager manages cached app data. |
| class KioskAppManager : public KioskAppDataDelegate, |
| @@ -121,7 +122,8 @@ class KioskAppManager : public KioskAppDataDelegate, |
| std::string GetAutoLaunchApp() const; |
| // Sets |app_id| as the app to auto launch at start up. |
| - void SetAutoLaunchApp(const std::string& app_id); |
| + void SetAutoLaunchApp(const std::string& app_id, |
| + OwnerSettingsServiceChromeOS* service); |
|
Mattias Nissler (ping if slow)
2015/03/30 14:45:45
Any thoughts regarding my earlier comment to move
Ivan Podogov
2015/03/31 08:39:59
Yes, it is possible, although both of the browsert
|
| // Returns true if there is a pending auto-launch request. |
| bool IsAutoLaunchRequested() const; |
| @@ -134,8 +136,9 @@ class KioskAppManager : public KioskAppDataDelegate, |
| // Adds/removes a kiosk app by id. When removed, all locally cached data |
| // will be removed as well. |
| - void AddApp(const std::string& app_id); |
| - void RemoveApp(const std::string& app_id); |
| + void AddApp(const std::string& app_id, OwnerSettingsServiceChromeOS* service); |
| + void RemoveApp(const std::string& app_id, |
| + OwnerSettingsServiceChromeOS* service); |
| // Gets info of all apps that have no meta data load error. |
| void GetApps(Apps* apps) const; |