Index: chrome/browser/chromeos/extensions/wallpaper_manager_util.cc |
diff --git a/chrome/browser/chromeos/extensions/wallpaper_manager_util.cc b/chrome/browser/chromeos/extensions/wallpaper_manager_util.cc |
index 510103ddd7b04ee44c70c427f38fc2adccd4fafa..ee0871df4a13f0dc0cde8135d8dff83a0e514efb 100644 |
--- a/chrome/browser/chromeos/extensions/wallpaper_manager_util.cc |
+++ b/chrome/browser/chromeos/extensions/wallpaper_manager_util.cc |
@@ -7,7 +7,7 @@ |
#include "base/command_line.h" |
#include "base/logging.h" |
#include "base/metrics/field_trial.h" |
-#include "chrome/browser/chromeos/arc/arc_session_manager.h" |
+#include "chrome/browser/chromeos/arc/arc_util.h" |
#include "chrome/browser/chromeos/profiles/profile_helper.h" |
#include "chrome/browser/extensions/extension_service.h" |
#include "chrome/browser/profiles/profile.h" |
@@ -46,10 +46,8 @@ bool ShouldUseAndroidWallpapersApp(Profile* profile) { |
if (!chromeos::ProfileHelper::IsPrimaryProfile(profile)) |
return false; |
- // Check if the ARC is enabled. |
- const arc::ArcSessionManager* const arc_session_manager = |
- arc::ArcSessionManager::Get(); |
- if (!arc_session_manager || !arc_session_manager->IsArcPlayStoreEnabled()) |
+ // Check if the Google Play Store is enabled. |
+ if (!arc::IsArcPlayStoreEnabledForProfile(profile)) |
return false; |
// Check if Android Wallpapers App has been installed. |