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 823ce65d1fc0a470efd1a33ac21f0e7a1f4d77bb..7ab5c3bfa10207f4c0d78b7ffa562c8ad99d0f9b 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 |
@@ -237,7 +237,7 @@ ArcAppListPrefs::ArcAppListPrefs(const base::FilePath& base_path, |
bridge_service->app()->AddObserver(this); |
bridge_service->AddObserver(this); |
if (!bridge_service->ready()) |
- OnBridgeStopped(); |
+ OnBridgeStopped(arc::ArcBridgeService::StopReason::SHUTDOWN); |
} |
ArcAppListPrefs::~ArcAppListPrefs() { |
@@ -563,7 +563,8 @@ void ArcAppListPrefs::OnOptInEnabled(bool enabled) { |
RemoveAllApps(); |
} |
-void ArcAppListPrefs::OnBridgeStopped() { |
+void ArcAppListPrefs::OnBridgeStopped( |
+ arc::ArcBridgeService::StopReason reason) { |
DisableAllApps(); |
} |