Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Side by Side Diff: chrome/browser/chromeos/app_mode/kiosk_app_manager_observer.h

Issue 300843013: Install and launch kiosk app from cached crx file at start up. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove the useless offline_enabled_app_profile testing data. Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_APP_MANAGER_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_APP_MANAGER_OBSERVER_H_
6 #define CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_APP_MANAGER_OBSERVER_H_ 6 #define CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_APP_MANAGER_OBSERVER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 namespace chromeos { 10 namespace chromeos {
11 11
12 class KioskAppManagerObserver { 12 class KioskAppManagerObserver {
13 public: 13 public:
14 // Invoked when the app data is changed or loading state is changed. 14 // Invoked when the app data is changed or loading state is changed.
15 virtual void OnKioskAppDataChanged(const std::string& app_id) {} 15 virtual void OnKioskAppDataChanged(const std::string& app_id) {}
16 16
17 // Invoked when failed to load web store data of an app. 17 // Invoked when failed to load web store data of an app.
18 virtual void OnKioskAppDataLoadFailure(const std::string& app_id) {} 18 virtual void OnKioskAppDataLoadFailure(const std::string& app_id) {}
19 19
20 // Invoked when the extension is loaded in cache.
21 virtual void OnKioskExtensionLoadedInCache(const std::string& app_id) {}
22
23 // Invoked when the extension download fails.
24 virtual void OnKioskExtensionDownloadFailed(const std::string& app_id) {}
25
20 // Invoked when the Kiosk Apps configuration changes. 26 // Invoked when the Kiosk Apps configuration changes.
21 virtual void OnKioskAppsSettingsChanged() {} 27 virtual void OnKioskAppsSettingsChanged() {}
22 28
23 protected: 29 protected:
24 virtual ~KioskAppManagerObserver() {} 30 virtual ~KioskAppManagerObserver() {}
25 }; 31 };
26 32
27 } // namespace chromeos 33 } // namespace chromeos
28 34
29 #endif // CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_APP_MANAGER_OBSERVER_H_ 35 #endif // CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_APP_MANAGER_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698