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

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

Issue 2507073002: Split ArcSessionManager from ArcAuthService. (Closed)
Patch Set: Fix rebase mistake Created 4 years, 1 month 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 7306b9da4c852c4f5c59c18d4ade472cb2736597..bc863c4fa2871ca3ed173612e284ddc5838367e8 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_auth_service.h"
+#include "chrome/browser/chromeos/arc/arc_session_manager.h"
#include "components/arc/arc_bridge_service.h"
#endif
@@ -35,7 +35,7 @@ AppLaunchParams::AppLaunchParams(Profile* profile,
play_store_status(PlayStoreStatus::PLAY_STORE_STATUS_UNKNOWN) {
#if defined(OS_CHROMEOS)
if (set_playstore_status) {
- if (arc::ArcAuthService::IsAllowedForProfile(profile)) {
+ if (arc::ArcSessionManager::IsAllowedForProfile(profile)) {
play_store_status = PlayStoreStatus::PLAY_STORE_STATUS_ENABLED;
} else if (arc::ArcBridgeService::GetAvailable(
base::CommandLine::ForCurrentProcess())) {

Powered by Google App Engine
This is Rietveld 408576698