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

Unified Diff: chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc

Issue 2524673003: arc: Stop/start ARC++ kiosk app when maintenance session started/finished. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/app_list/arc/arc_app_list_prefs.h ('k') | components/arc/kiosk/arc_kiosk_bridge.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc
diff --git a/chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc b/chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc
index 56017efe935663165d4933c59895af8208010984..d672c1320af41152788d39745fde5adc078f844f 100644
--- a/chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc
+++ b/chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc
@@ -12,7 +12,6 @@
#include "base/metrics/histogram_macros.h"
#include "base/strings/string_number_conversions.h"
#include "base/task_runner_util.h"
-#include "chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_service.h"
#include "chrome/browser/chromeos/arc/policy/arc_policy_util.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/app_list/app_list_service.h"
@@ -668,12 +667,6 @@ void ArcAppListPrefs::OnInstanceReady() {
// Note, sync_service_ may be nullptr in testing.
sync_service_ = arc::ArcPackageSyncableService::Get(profile_);
- // Kiosk apps should be run only for kiosk sessions.
- if (user_manager::UserManager::Get()->IsLoggedInAsArcKioskApp()) {
- kiosk_app_service_ = chromeos::ArcKioskAppService::Get(profile_);
- DCHECK(kiosk_app_service_);
- }
-
// In some tests app_instance may not be set.
if (!app_instance)
return;
@@ -693,7 +686,6 @@ void ArcAppListPrefs::OnInstanceClosed() {
sync_service_ = nullptr;
}
- kiosk_app_service_ = nullptr;
is_initialized_ = false;
package_list_initial_refreshed_ = false;
}
« no previous file with comments | « chrome/browser/ui/app_list/arc/arc_app_list_prefs.h ('k') | components/arc/kiosk/arc_kiosk_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698