blob: 183e2ff1dc4e4d0ec48eb1d82793e8a0611c4769 [file] [log] [blame]
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <string>
namespace base {
class FilePath;
namespace ash {
class KioskAppDataDelegate {
// Invoked to get the root directory for storing cached icon files.
virtual void GetKioskAppIconCacheDir(base::FilePath* cache_dir) = 0;
// Invoked when kiosk app data or status has changed.
virtual void OnKioskAppDataChanged(const std::string& app_id) = 0;
// Invoked when failed to load web store data of an app.
virtual void OnKioskAppDataLoadFailure(const std::string& app_id) = 0;
// Invoked when the data which is stored in ExternalCache for current app is
// damaged.
virtual void OnExternalCacheDamaged(const std::string& app_id) = 0;
virtual ~KioskAppDataDelegate() {}
} // namespace ash