| Index: chrome/browser/ui/app_list/arc/arc_app_utils.cc
|
| diff --git a/chrome/browser/ui/app_list/arc/arc_app_utils.cc b/chrome/browser/ui/app_list/arc/arc_app_utils.cc
|
| index b75f830d3caeb5be8fea6563262c4c70dafc3a95..a120f6474a876159f94a80c28195ebb249bf404c 100644
|
| --- a/chrome/browser/ui/app_list/arc/arc_app_utils.cc
|
| +++ b/chrome/browser/ui/app_list/arc/arc_app_utils.cc
|
| @@ -221,18 +221,18 @@ bool LaunchApp(content::BrowserContext* context,
|
| ArcAppListPrefs* prefs = ArcAppListPrefs::Get(context);
|
| std::unique_ptr<ArcAppListPrefs::AppInfo> app_info = prefs->GetApp(app_id);
|
| if (app_info && !app_info->ready) {
|
| - ArcAuthService* auth_service = ArcAuthService::Get();
|
| - DCHECK(auth_service);
|
| + ArcSessionManager* arc_session_manager = ArcSessionManager::Get();
|
| + DCHECK(arc_session_manager);
|
|
|
| bool arc_activated = false;
|
| - if (!auth_service->IsArcEnabled()) {
|
| + if (!arc_session_manager->IsArcEnabled()) {
|
| if (!prefs->IsDefault(app_id)) {
|
| NOTREACHED();
|
| return false;
|
| }
|
|
|
| - auth_service->EnableArc();
|
| - if (!auth_service->IsArcEnabled()) {
|
| + arc_session_manager->EnableArc();
|
| + if (!arc_session_manager->IsArcEnabled()) {
|
| NOTREACHED();
|
| return false;
|
| }
|
|
|