| Index: chrome/browser/ui/app_list/app_list_service_views_browsertest.cc
|
| diff --git a/chrome/browser/ui/app_list/app_list_service_views_browsertest.cc b/chrome/browser/ui/app_list/app_list_service_views_browsertest.cc
|
| index 1d16a5f2c6e2e7ac08d99ff1791dc1770cb5014c..6c150812077dc1557be0cf40b14918d22d8d2ffe 100644
|
| --- a/chrome/browser/ui/app_list/app_list_service_views_browsertest.cc
|
| +++ b/chrome/browser/ui/app_list/app_list_service_views_browsertest.cc
|
| @@ -27,6 +27,7 @@
|
|
|
| #if defined(OS_CHROMEOS)
|
| #include "ash/shell.h"
|
| +#include "chrome/browser/chromeos/arc/arc_auth_service.h"
|
| #include "chrome/browser/ui/ash/app_list/test/app_list_service_ash_test_api.h"
|
| #endif
|
|
|
| @@ -139,6 +140,11 @@ class AppListControllerAppInfoDialogBrowserTest : public ExtensionBrowserTest {
|
| protected:
|
| // content::BrowserTestBase:
|
| void SetUpOnMainThread() override {
|
| +#if defined(OS_CHROMEOS)
|
| + arc::ArcAuthService::DisableUIForTesting();
|
| + arc::ArcAuthService::Get()->OnPrimaryUserProfilePrepared(
|
| + browser()->profile());
|
| +#endif
|
| // Install a test extension.
|
| base::FilePath test_extension_path;
|
| EXPECT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &test_extension_path));
|
|
|