Index: chrome/browser/sync/test/integration/sync_arc_package_helper.cc |
diff --git a/chrome/browser/sync/test/integration/sync_arc_package_helper.cc b/chrome/browser/sync/test/integration/sync_arc_package_helper.cc |
index 8513e7be662dfbd0f215f5ecd80e229b37cf8232..3626338abbd2fcef904e5c9e82bb44cbf59e8f6f 100644 |
--- a/chrome/browser/sync/test/integration/sync_arc_package_helper.cc |
+++ b/chrome/browser/sync/test/integration/sync_arc_package_helper.cc |
@@ -11,6 +11,7 @@ |
#include "base/run_loop.h" |
#include "base/strings/string_number_conversions.h" |
#include "chrome/browser/chromeos/arc/arc_session_manager.h" |
+#include "chrome/browser/chromeos/arc/arc_util.h" |
#include "chrome/browser/chromeos/login/users/fake_chrome_user_manager.h" |
#include "chrome/browser/chromeos/login/users/scoped_user_manager_enabler.h" |
#include "chrome/browser/chromeos/profiles/profile_helper.h" |
@@ -153,7 +154,7 @@ void SyncArcPackageHelper::SetupArcService(Profile* profile, size_t id) { |
DCHECK(arc_session_manager); |
ArcSessionManager::DisableUIForTesting(); |
arc_session_manager->OnPrimaryUserProfilePrepared(profile); |
- arc_session_manager->SetArcPlayStoreEnabled(true); |
+ arc::SetArcPlayStoreEnabledForProfile(profile, true); |
ArcAppListPrefs* arc_app_list_prefs = ArcAppListPrefs::Get(profile); |
DCHECK(arc_app_list_prefs); |