| Index: chrome/browser/policy/policy_browsertest.cc
|
| diff --git a/chrome/browser/policy/policy_browsertest.cc b/chrome/browser/policy/policy_browsertest.cc
|
| index be1bb1c410a1e5eb5ba201d11163615104afbc3f..8a392ac15c9f914eaa8412bccec0e9ba9c98e6fe 100644
|
| --- a/chrome/browser/policy/policy_browsertest.cc
|
| +++ b/chrome/browser/policy/policy_browsertest.cc
|
| @@ -3823,6 +3823,10 @@ class ArcPolicyTest : public PolicyTest {
|
|
|
| protected:
|
| void SetUpTest() {
|
| + // ArcAuthService functionality is available only when Arc is enabled. Use
|
| + // kEnableArc switch that activates it.
|
| + base::CommandLine::ForCurrentProcess()->AppendSwitch(
|
| + chromeos::switches::kEnableArc);
|
| arc::ArcAuthService::DisableUIForTesting();
|
|
|
| browser()->profile()->GetPrefs()->SetBoolean(prefs::kArcSignedIn, true);
|
|
|