OLD | NEW |
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_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_APP_MANAGER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_APP_MANAGER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_APP_MANAGER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 #include <string> | 10 #include <string> |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 bool was_auto_launched_with_zero_delay; | 80 bool was_auto_launched_with_zero_delay; |
81 }; | 81 }; |
82 typedef std::vector<App> Apps; | 82 typedef std::vector<App> Apps; |
83 | 83 |
84 // Name of a dictionary that holds kiosk app info in Local State. | 84 // Name of a dictionary that holds kiosk app info in Local State. |
85 // Sample layout: | 85 // Sample layout: |
86 // "kiosk": { | 86 // "kiosk": { |
87 // "auto_login_enabled": true // | 87 // "auto_login_enabled": true // |
88 // } | 88 // } |
89 static const char kKioskDictionaryName[]; | 89 static const char kKioskDictionaryName[]; |
| 90 static const char kKeyApps[]; |
90 static const char kKeyAutoLoginState[]; | 91 static const char kKeyAutoLoginState[]; |
91 | 92 |
92 // Sub directory under DIR_USER_DATA to store cached icon files. | 93 // Sub directory under DIR_USER_DATA to store cached icon files. |
93 static const char kIconCacheDir[]; | 94 static const char kIconCacheDir[]; |
94 | 95 |
95 // Sub directory under DIR_USER_DATA to store cached crx files. | 96 // Sub directory under DIR_USER_DATA to store cached crx files. |
96 static const char kCrxCacheDir[]; | 97 static const char kCrxCacheDir[]; |
97 | 98 |
98 // Sub directory under DIR_USER_DATA to store unpacked crx file for validating | 99 // Sub directory under DIR_USER_DATA to store unpacked crx file for validating |
99 // its signature. | 100 // its signature. |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 base::WeakPtr<KioskAppExternalLoader> secondary_app_external_loader_; | 355 base::WeakPtr<KioskAppExternalLoader> secondary_app_external_loader_; |
355 | 356 |
356 std::unique_ptr<AppSession> app_session_; | 357 std::unique_ptr<AppSession> app_session_; |
357 | 358 |
358 DISALLOW_COPY_AND_ASSIGN(KioskAppManager); | 359 DISALLOW_COPY_AND_ASSIGN(KioskAppManager); |
359 }; | 360 }; |
360 | 361 |
361 } // namespace chromeos | 362 } // namespace chromeos |
362 | 363 |
363 #endif // CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_APP_MANAGER_H_ | 364 #endif // CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_APP_MANAGER_H_ |
OLD | NEW |