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[]; | |
91 static const char kKeyAutoLoginState[]; | 90 static const char kKeyAutoLoginState[]; |
92 | 91 |
93 // Sub directory under DIR_USER_DATA to store cached icon files. | 92 // Sub directory under DIR_USER_DATA to store cached icon files. |
94 static const char kIconCacheDir[]; | 93 static const char kIconCacheDir[]; |
95 | 94 |
96 // Sub directory under DIR_USER_DATA to store cached crx files. | 95 // Sub directory under DIR_USER_DATA to store cached crx files. |
97 static const char kCrxCacheDir[]; | 96 static const char kCrxCacheDir[]; |
98 | 97 |
99 // Sub directory under DIR_USER_DATA to store unpacked crx file for validating | 98 // Sub directory under DIR_USER_DATA to store unpacked crx file for validating |
100 // its signature. | 99 // its signature. |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 base::WeakPtr<KioskAppExternalLoader> secondary_app_external_loader_; | 354 base::WeakPtr<KioskAppExternalLoader> secondary_app_external_loader_; |
356 | 355 |
357 std::unique_ptr<AppSession> app_session_; | 356 std::unique_ptr<AppSession> app_session_; |
358 | 357 |
359 DISALLOW_COPY_AND_ASSIGN(KioskAppManager); | 358 DISALLOW_COPY_AND_ASSIGN(KioskAppManager); |
360 }; | 359 }; |
361 | 360 |
362 } // namespace chromeos | 361 } // namespace chromeos |
363 | 362 |
364 #endif // CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_APP_MANAGER_H_ | 363 #endif // CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_APP_MANAGER_H_ |
OLD | NEW |