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

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

Issue 269573010: Download and cache kiosk app extension when it is added via kiosk mamangement ui. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reset external_cache_ is clean up, change crx file cache dir, etc. Created 6 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/app_mode/kiosk_app_manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_DATA_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_APP_DATA_DELEGATE_H_
6 #define CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_APP_DATA_DELEGATE_H_ 6 #define CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_APP_DATA_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 namespace base { 10 namespace base {
11 class FilePath; 11 class FilePath;
12 } 12 }
13 13
14 namespace chromeos { 14 namespace chromeos {
15 15
16 class KioskAppDataDelegate { 16 class KioskAppDataDelegate {
17 public: 17 public:
18 // Invoked to get the root directory for storing cached icon files. 18 // Invoked to get the root directory for storing cached icon files.
19 virtual void GetKioskAppIconCacheDir(base::FilePath* cache_dir) = 0; 19 virtual void GetKioskAppIconCacheDir(base::FilePath* cache_dir) = 0;
20 20
21 // Invoked to get the root directory for storing cached crx files.
22 virtual void GetKioskAppCrxCacheDir(base::FilePath* cache_dir) = 0;
xiyuan 2014/05/02 22:19:45 This does not belong here since KioskAppData does
jennyz 2014/05/02 22:31:01 Done.
23
21 // Invoked when kiosk app data or status has changed. 24 // Invoked when kiosk app data or status has changed.
22 virtual void OnKioskAppDataChanged(const std::string& app_id) = 0; 25 virtual void OnKioskAppDataChanged(const std::string& app_id) = 0;
23 26
24 // Invoked when failed to load web store data of an app. 27 // Invoked when failed to load web store data of an app.
25 virtual void OnKioskAppDataLoadFailure(const std::string& app_id) = 0; 28 virtual void OnKioskAppDataLoadFailure(const std::string& app_id) = 0;
26 29
27 protected: 30 protected:
28 virtual ~KioskAppDataDelegate() {} 31 virtual ~KioskAppDataDelegate() {}
29 }; 32 };
30 33
31 } // namespace chromeos 34 } // namespace chromeos
32 35
33 #endif // CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_APP_DATA_DELEGATE_H_ 36 #endif // CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_APP_DATA_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/app_mode/kiosk_app_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698