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

Unified Diff: chrome/browser/ui/extensions/app_launch_params.cc

Issue 2642783003: Move more utility functions to arc_util. (Closed)
Patch Set: address comments Created 3 years, 11 months 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
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 b4d0796f58de846b75bcb451ad99731900ac7cf7..f50c86508061e942de81d0587210db93a3665016 100644
--- a/chrome/browser/ui/extensions/app_launch_params.cc
+++ b/chrome/browser/ui/extensions/app_launch_params.cc
@@ -13,7 +13,7 @@
#include "ui/base/window_open_disposition.h"
#if defined(OS_CHROMEOS)
-#include "chrome/browser/chromeos/arc/arc_session_manager.h"
+#include "chrome/browser/chromeos/arc/arc_util.h"
#include "components/arc/arc_util.h"
#endif
@@ -36,7 +36,7 @@ AppLaunchParams::AppLaunchParams(Profile* profile,
#if defined(OS_CHROMEOS)
// TODO(b/34478891): Remove this from app launch.
if (set_playstore_status) {
- if (arc::ArcSessionManager::IsAllowedForProfile(profile))
+ if (arc::IsArcAllowedForProfile(profile))
play_store_status = PlayStoreStatus::PLAY_STORE_STATUS_ENABLED;
else if (arc::IsArcAvailable())
play_store_status = PlayStoreStatus::PLAY_STORE_STATUS_AVAILABLE;

Powered by Google App Engine
This is Rietveld 408576698