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_DATA_DELEGATE_H_
6 #define CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_APP_DATA_DELEGATE_H_
16 class KioskAppDataDelegate
{
18 // Invoked to get the root directory for storing cached icon files.
19 virtual void GetKioskAppIconCacheDir(base::FilePath
* cache_dir
) = 0;
21 // Invoked when kiosk app data or status has changed.
22 virtual void OnKioskAppDataChanged(const std::string
& app_id
) = 0;
24 // Invoked when failed to load web store data of an app.
25 virtual void OnKioskAppDataLoadFailure(const std::string
& app_id
) = 0;
28 virtual ~KioskAppDataDelegate() {}
31 } // namespace chromeos
33 #endif // CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_APP_DATA_DELEGATE_H_