Index: chrome/browser/ui/extensions/app_launch_params.cc |
diff --git a/chrome/browser/ui/extensions/app_launch_params.cc b/chrome/browser/ui/extensions/app_launch_params.cc |
index bc863c4fa2871ca3ed173612e284ddc5838367e8..35d3a11c670dd415171c89e372d66803479638dd 100644 |
--- a/chrome/browser/ui/extensions/app_launch_params.cc |
+++ b/chrome/browser/ui/extensions/app_launch_params.cc |
@@ -14,7 +14,7 @@ |
#if defined(OS_CHROMEOS) |
#include "chrome/browser/chromeos/arc/arc_session_manager.h" |
-#include "components/arc/arc_bridge_service.h" |
+#include "components/arc/arc_util.h" |
#endif |
using extensions::ExtensionPrefs; |
@@ -34,11 +34,11 @@ AppLaunchParams::AppLaunchParams(Profile* profile, |
source(source), |
play_store_status(PlayStoreStatus::PLAY_STORE_STATUS_UNKNOWN) { |
#if defined(OS_CHROMEOS) |
+ // TODO(b/34478891): Remove this from app launch. |
hidehiko
2017/01/24 10:57:36
Note: According to the discussion on the bug, we c
|
if (set_playstore_status) { |
if (arc::ArcSessionManager::IsAllowedForProfile(profile)) { |
play_store_status = PlayStoreStatus::PLAY_STORE_STATUS_ENABLED; |
- } else if (arc::ArcBridgeService::GetAvailable( |
- base::CommandLine::ForCurrentProcess())) { |
+ } else if (arc::IsArcAvailable()) { |
play_store_status = PlayStoreStatus::PLAY_STORE_STATUS_AVAILABLE; |
} // else, default to PLAY_STORE_STATUS_UNKNOWN. |
} |