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..cca625ea953f14156851a4966116465eb1b9845f 100644 |
--- a/chrome/browser/policy/policy_browsertest.cc |
+++ b/chrome/browser/policy/policy_browsertest.cc |
@@ -670,7 +670,10 @@ class PolicyTest : public InProcessBrowserTest { |
} |
void SetUpInProcessBrowserTestFixture() override { |
- base::CommandLine::ForCurrentProcess()->AppendSwitch("noerrdialogs"); |
+ base::CommandLine* const command_line = |
+ base::CommandLine::ForCurrentProcess(); |
+ command_line->AppendSwitch("noerrdialogs"); |
+ command_line->AppendSwitch(chromeos::switches::kEnableArc); |
pastarmovj
2016/05/17 22:13:05
please document the behavior and the reason why th
khmel
2016/05/17 22:48:35
Done, and moved it to Arc test, where it looks mor
|
EXPECT_CALL(provider_, IsInitializationComplete(_)) |
.WillRepeatedly(Return(true)); |
BrowserPolicyConnector::SetPolicyProviderForTesting(&provider_); |