Index: chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_service.h |
diff --git a/chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_service.h b/chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_service.h |
index a737022289b5bf411ab31597eb311225f0e23038..ac3bf516a6d55d68786c1921868d871640730458 100644 |
--- a/chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_service.h |
+++ b/chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_service.h |
@@ -9,7 +9,6 @@ |
#include "base/timer/timer.h" |
#include "chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_launcher.h" |
#include "chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_manager.h" |
-#include "chrome/browser/ui/app_list/arc/arc_app_icon.h" |
#include "chrome/browser/ui/app_list/arc/arc_app_list_prefs.h" |
#include "components/arc/kiosk/arc_kiosk_bridge.h" |
#include "components/keyed_service/core/keyed_service.h" |
@@ -36,8 +35,7 @@ |
public ArcAppListPrefs::Observer, |
public ArcKioskAppManager::ArcKioskAppManagerObserver, |
public arc::ArcKioskBridge::Delegate, |
- public ArcKioskAppLauncher::Delegate, |
- public ArcAppIcon::Observer { |
+ public ArcKioskAppLauncher::Delegate { |
public: |
class Delegate { |
public: |
@@ -81,9 +79,6 @@ |
// ArcKioskAppLauncher::Delegate overrides |
void OnAppWindowLaunched() override; |
- // ArcAppIcon::Observer overrides |
- void OnIconUpdated(ArcAppIcon* icon) override; |
- |
private: |
explicit ArcKioskAppService(Profile* profile); |
~ArcKioskAppService() override; |
@@ -91,8 +86,6 @@ |
std::string GetAppId(); |
// Called when app should be started or stopped. |
void PreconditionsChanged(); |
- // Updates local cache with proper name and icon. |
- void RequestNameAndIconUpdate(); |
Profile* const profile_; |
bool maintenance_session_running_ = false; |
@@ -100,7 +93,6 @@ |
ArcKioskAppManager* app_manager_; |
std::string app_id_; |
std::unique_ptr<ArcAppListPrefs::AppInfo> app_info_; |
- std::unique_ptr<ArcAppIcon> app_icon_; |
int32_t task_id_ = -1; |
std::unique_ptr<PrefChangeRegistrar> pref_change_registrar_; |
// Keeps track whether the app is already launched |