| Index: chrome/browser/ui/ash/launcher/arc_app_launcher_browsertest.cc
|
| diff --git a/chrome/browser/ui/ash/launcher/arc_app_launcher_browsertest.cc b/chrome/browser/ui/ash/launcher/arc_app_launcher_browsertest.cc
|
| index 5ec2d5b4672df251e197b820d1d81b0e7d633516..1907b01d447a89dd5568834dab7f39a908083e06 100644
|
| --- a/chrome/browser/ui/ash/launcher/arc_app_launcher_browsertest.cc
|
| +++ b/chrome/browser/ui/ash/launcher/arc_app_launcher_browsertest.cc
|
| @@ -9,6 +9,8 @@
|
| #include "base/run_loop.h"
|
| #include "base/strings/stringprintf.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| +#include "chrome/browser/chromeos/arc/arc_session_manager.h"
|
| +#include "chrome/browser/chromeos/arc/arc_util.h"
|
| #include "chrome/browser/extensions/extension_browsertest.h"
|
| #include "chrome/browser/ui/app_list/app_list_service.h"
|
| #include "chrome/browser/ui/app_list/app_list_syncable_service.h"
|
| @@ -166,7 +168,7 @@ class ArcAppLauncherBrowserTest : public ExtensionBrowserTest {
|
| }
|
|
|
| void SetUpOnMainThread() override {
|
| - arc::ArcSessionManager::Get()->SetArcPlayStoreEnabled(true);
|
| + arc::SetArcPlayStoreEnabledForProfile(profile(), true);
|
| }
|
|
|
| void InstallTestApps(const std::string& package_name, bool multi_app) {
|
| @@ -545,6 +547,6 @@ IN_PROC_BROWSER_TEST_F(ArcAppLauncherBrowserTest, ShelfGroup) {
|
| EXPECT_FALSE(GetAppItemController(shelf_id2));
|
|
|
| // Disable ARC, this removes app and as result kills shelf group 3.
|
| - arc::ArcSessionManager::Get()->SetArcPlayStoreEnabled(false);
|
| + arc::SetArcPlayStoreEnabledForProfile(profile(), false);
|
| EXPECT_FALSE(GetAppItemController(shelf_id3));
|
| }
|
|
|