Popular sites on the NTP: check that experiment group StartsWith (rather than IS...
[chromium-blink-merge.git] / chrome / browser / chromeos / app_mode / kiosk_app_data_delegate.h
blobf0a5359757d12c29fdd8969eb79f333de38554fe
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_
8 #include <string>
10 namespace base {
11 class FilePath;
14 namespace chromeos {
16 class KioskAppDataDelegate {
17 public:
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;
27 protected:
28 virtual ~KioskAppDataDelegate() {}
31 } // namespace chromeos
33 #endif // CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_APP_DATA_DELEGATE_H_