Home
last modified time | relevance | path

Searched refs:KioskAppManager (Results 1 – 25 of 28) sorted by relevance

12

/external/chromium_org/chrome/browser/chromeos/app_mode/
Dkiosk_app_manager.cc76 const char KioskAppManager::kKioskDictionaryName[] = "kiosk";
77 const char KioskAppManager::kKeyApps[] = "apps";
78 const char KioskAppManager::kKeyAutoLoginState[] = "auto_login_state";
79 const char KioskAppManager::kIconCacheDir[] = "kiosk/icon";
80 const char KioskAppManager::kCrxCacheDir[] = "kiosk/crx";
81 const char KioskAppManager::kCrxUnpackDir[] = "kiosk_unpack";
84 static base::LazyInstance<KioskAppManager> instance = LAZY_INSTANCE_INITIALIZER;
85 KioskAppManager* KioskAppManager::Get() { in Get()
90 void KioskAppManager::Shutdown() { in Shutdown()
98 void KioskAppManager::RegisterPrefs(PrefRegistrySimple* registry) { in RegisterPrefs()
[all …]
Dkiosk_app_manager_browsertest.cc55 KioskAppManager::ConsumerKioskAutoLaunchStatus* out_status, in ConsumerKioskAutoLaunchStatusCheck()
57 KioskAppManager::ConsumerKioskAutoLaunchStatus in_status) { in ConsumerKioskAutoLaunchStatusCheck()
106 AppDataLoadWaiter(KioskAppManager* manager, int data_loaded_threshold) in AppDataLoadWaiter()
157 KioskAppManager* manager_;
209 KioskAppManager::Apps apps; in GetAppIds()
259 KioskAppManager::kKioskDictionaryName); in SetExistingApp()
260 dict_update->Set(KioskAppManager::kKeyApps, apps_dict.release()); in SetExistingApp()
314 KioskAppManager::Apps apps; in RunAddNewAppTest()
324 local_state->GetDictionary(KioskAppManager::kKioskDictionaryName); in RunAddNewAppTest()
338 expected_icon_path.AppendASCII(KioskAppManager::kIconCacheDir) in RunAddNewAppTest()
[all …]
Dkiosk_app_update_service.cc45 if (KioskAppManager::Get()) in KioskAppUpdateService()
46 KioskAppManager::Get()->AddObserver(this); in KioskAppUpdateService()
73 if (KioskAppManager::Get()) in Shutdown()
74 KioskAppManager::Get()->RemoveObserver(this); in Shutdown()
84 KioskAppManager::Get()->ClearAppData(app_id_); in OnAppUpdateAvailable()
85 KioskAppManager::Get()->UpdateAppDataFromProfile( in OnAppUpdateAvailable()
Dkiosk_app_manager.h43 class KioskAppManager : public KioskAppDataDelegate,
94 static KioskAppManager* Get();
203 friend struct base::DefaultLazyInstanceTraits<KioskAppManager>;
204 friend struct base::DefaultDeleter<KioskAppManager>;
216 KioskAppManager();
217 virtual ~KioskAppManager();
283 DISALLOW_COPY_AND_ASSIGN(KioskAppManager);
Dstartup_app_launcher.cc81 KioskAppManager::Get()->AddObserver(this); in StartupAppLauncher()
85 KioskAppManager::Get()->RemoveObserver(this); in ~StartupAppLauncher()
104 KioskAppManager::Get()->UpdateExternalCache(); in ContinueWithNetworkReady()
180 bool crx_cached = KioskAppManager::Get()->HasCachedCrx(app_id_); in MaybeInitializeNetwork()
310 if (KioskAppManager::Get()->HasCachedCrx(app_id_)) in OnKioskAppDataLoadStatusChanged()
367 KioskAppManager::Get()->InstallFromCache(app_id_); in BeginInstall()
397 KioskAppManager::Get()->ClearAppData(app_id_); in UpdateAppData()
398 KioskAppManager::Get()->UpdateAppDataFromProfile(app_id_, profile_, NULL); in UpdateAppData()
Dkiosk_app_launch_error.cc61 KioskAppManager::kKioskDictionaryName); in Save()
69 local_state->GetDictionary(KioskAppManager::kKioskDictionaryName); in Get()
82 KioskAppManager::kKioskDictionaryName); in Clear()
Dkiosk_external_updater.cc238 KioskAppManager::Get()->OnKioskAppExternalUpdateComplete(false); in ProcessParsedManifest()
244 KioskAppManager::Get()->OnKioskAppExternalUpdateComplete(false); in ProcessParsedManifest()
258 if (!KioskAppManager::Get()->GetCachedCrx( in ProcessParsedManifest()
288 KioskAppManager::App app; in ProcessParsedManifest()
289 if (KioskAppManager::Get()->GetApp(app_id, &app)) { in ProcessParsedManifest()
303 KioskAppManager::Get()->OnKioskAppExternalUpdateComplete(false); in ProcessParsedManifest()
369 bool cached = KioskAppManager::Get()->GetCachedCrx( in ShouldDoExternalUpdate()
414 chromeos::KioskAppManager::Get()->PutValidatedExternalExtension( in PutValidatedExtension()
454 KioskAppManager::Get()->OnKioskAppExternalUpdateComplete( in MayBeNotifyKioskAppUpdate()
464 KioskAppManager::Get()->OnKioskAppCacheUpdated(it->first); in NotifyKioskAppUpdateAvailable()
Dkiosk_app_data.cc282 KioskAppManager::kKioskDictionaryName); in ClearCache()
284 std::string app_key = std::string(KioskAppManager::kKeyApps) + '.' + app_id_; in ClearCache()
347 std::string app_key = std::string(KioskAppManager::kKeyApps) + '.' + app_id_; in LoadFromCache()
353 local_state->GetDictionary(KioskAppManager::kKioskDictionaryName); in LoadFromCache()
370 std::string app_key = std::string(KioskAppManager::kKeyApps) + '.' + app_id_; in SetCache()
376 KioskAppManager::kKioskDictionaryName); in SetCache()
Dapp_session_lifetime.cc145 KioskAppManager::Get()->MonitorKioskExternalUpdate(); in InitAppSession()
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/
Dkiosk_autolaunch_screen_handler.cc41 KioskAppManager::Get()->AddObserver(this); in KioskAutolaunchScreenHandler()
48 KioskAppManager::Get()->RemoveObserver(this); in ~KioskAutolaunchScreenHandler()
70 KioskAppManager* manager = KioskAppManager::Get(); in UpdateKioskApp()
71 KioskAppManager::App app; in UpdateKioskApp()
119 KioskAppManager::Get()->RemoveObserver(this); in HandleOnCancel()
120 KioskAppManager::Get()->SetEnableAutoLaunch(false); in HandleOnCancel()
131 KioskAppManager::Get()->RemoveObserver(this); in HandleOnConfirm()
132 KioskAppManager::Get()->SetEnableAutoLaunch(true); in HandleOnConfirm()
Dkiosk_app_menu_handler.cc41 KioskAppManager::Get()->AddObserver(this); in KioskAppMenuHandler()
46 KioskAppManager::Get()->RemoveObserver(this); in ~KioskAppMenuHandler()
92 KioskAppManager::Apps apps; in SendKioskApps()
93 KioskAppManager::Get()->GetApps(&apps); in SendKioskApps()
97 const KioskAppManager::App& app_data = apps[i]; in SendKioskApps()
157 KioskAppManager::Get()->RetryFailedAppDataFetch(); in UpdateState()
Dkiosk_enable_screen_handler.cc46 KioskAppManager::Get()->GetConsumerKioskAutoLaunchStatus( in Show()
53 KioskAppManager::ConsumerKioskAutoLaunchStatus status) { in OnGetConsumerKioskAutoLaunchStatus()
55 (status == KioskAppManager::CONSUMER_KIOSK_AUTO_LAUNCH_CONFIGURABLE); in OnGetConsumerKioskAutoLaunchStatus()
127 KioskAppManager::Get()->EnableConsumerKioskAutoLaunch( in HandleOnEnable()
Dapp_launch_splash_screen_handler.cc90 !KioskAppManager::Get()->GetDisableBailoutShortcut()); in Show()
221 KioskAppManager::App app; in PopulateAppInfo()
222 KioskAppManager::Get()->GetApp(app_id_, &app); in PopulateAppInfo()
Dkiosk_enable_screen_handler.h44 KioskAppManager::ConsumerKioskAutoLaunchStatus status);
/external/chromium_org/chrome/browser/chromeos/login/
Dkiosk_browsertest.cc145 KioskAppManager::ConsumerKioskAutoLaunchStatus* out_status, in ConsumerKioskAutoLaunchStatusCheck()
147 KioskAppManager::ConsumerKioskAutoLaunchStatus in_status) { in ConsumerKioskAutoLaunchStatusCheck()
332 KioskAppManager::Get()->CleanUp(); in TearDownOnMainThread()
352 KioskAppManager::Get()->RemoveApp(test_app_id_); in ReloadKioskApps()
353 KioskAppManager::Get()->AddApp(test_app_id_); in ReloadKioskApps()
357 KioskAppManager::Get()->UpdateAppData(); in FireKioskAppSettingsChanged()
370 KioskAppManager::Get()->AddApp(test_app_id_); in ReloadAutolaunchKioskApps()
371 KioskAppManager::Get()->SetAutoLaunchApp(test_app_id_); in ReloadAutolaunchKioskApps()
506 KioskAppManager::Get()->EnableConsumerKioskAutoLaunch( in EnableConsumerKioskMode()
514 KioskAppManager::ConsumerKioskAutoLaunchStatus
[all …]
Dapp_launch_controller.cc145 KioskAppManager::App app; in StartAppLaunch()
146 CHECK(KioskAppManager::Get()); in StartAppLaunch()
147 CHECK(KioskAppManager::Get()->GetApp(app_id_, &app)); in StartAppLaunch()
215 if (KioskAppManager::Get()->GetDisableBailoutShortcut()) in OnCancelAppLaunch()
Dwizard_controller.cc696 if (KioskAppManager::Get()->IsAutoLaunchEnabled()) in OnEnrollmentDone()
715 DCHECK(KioskAppManager::Get()->IsAutoLaunchEnabled()); in OnKioskAutolaunchConfirmed()
1060 KioskAppManager::App app_data; in AutoLaunchKioskApp()
1061 std::string app_id = KioskAppManager::Get()->GetAutoLaunchApp(); in AutoLaunchKioskApp()
1062 CHECK(KioskAppManager::Get()->GetApp(app_id, &app_data)); in AutoLaunchKioskApp()
Dexisting_user_controller.cc687 if (KioskAppManager::Get()->IsConsumerKioskDeviceWithAutoLaunch()) { in OnStartEnterpriseEnrollment()
699 KioskAppManager::Get()->GetConsumerKioskAutoLaunchStatus( in OnStartKioskEnableScreen()
729 KioskAppManager::ConsumerKioskAutoLaunchStatus status) { in OnConsumerKioskAutoLaunchCheckCompleted()
730 if (status == KioskAppManager::CONSUMER_KIOSK_AUTO_LAUNCH_CONFIGURABLE) in OnConsumerKioskAutoLaunchCheckCompleted()
Dexisting_user_controller.h189 KioskAppManager::ConsumerKioskAutoLaunchStatus status);
/external/chromium_org/chrome/browser/ui/webui/extensions/chromeos/
Dkiosk_apps_handler.cc37 void PopulateAppDict(const KioskAppManager::App& app_data, in PopulateAppDict()
53 KioskAppManager::Get()->GetAutoLaunchApp() == app_data.app_id && in PopulateAppDict()
54 (KioskAppManager::Get()->IsAutoLaunchEnabled() || in PopulateAppDict()
55 KioskAppManager::Get()->IsAutoLaunchRequested())); in PopulateAppDict()
98 : kiosk_app_manager_(KioskAppManager::Get()), in KioskAppsHandler()
203 chromeos::KioskAppManager::ConsumerKioskAutoLaunchStatus status) { in OnGetConsumerKioskAutoLaunchStatus()
209 status == KioskAppManager::CONSUMER_KIOSK_AUTO_LAUNCH_ENABLED || in OnGetConsumerKioskAutoLaunchStatus()
242 KioskAppManager::Apps apps; in SendKioskAppSettings()
247 const KioskAppManager::App& app_data = apps[i]; in SendKioskAppSettings()
261 KioskAppManager::Get()->GetConsumerKioskAutoLaunchStatus( in HandleInitializeKioskAppSettings()
[all …]
Dkiosk_apps_handler.h27 class KioskAppManager; variable
68 chromeos::KioskAppManager::ConsumerKioskAutoLaunchStatus status);
70 KioskAppManager* kiosk_app_manager_; // not owned.
/external/chromium_org/chrome/browser/chromeos/login/session/
Dchrome_session_manager.cc26 KioskAppManager* app_manager = KioskAppManager::Get(); in ShouldAutoLaunchKioskApp()
/external/chromium_org/chrome/browser/chromeos/
Dchrome_browser_main_chromeos.cc140 KioskAppManager* app_manager = KioskAppManager::Get(); in ShouldAutoLaunchKioskApp()
737 KioskAppManager::Shutdown(); in PostMainMessageLoopRun()
/external/chromium_org/chrome/browser/extensions/
Dexternal_provider_impl_chromeos_unittest.cc80 chromeos::KioskAppManager::Shutdown(); in TearDown()
Dexternal_provider_impl.cc415 chromeos::KioskAppManager* kiosk_app_manager = in CreateExternalProviders()
416 chromeos::KioskAppManager::Get(); in CreateExternalProviders()

12