| Index: chrome/test/base/in_process_browser_test.cc
|
| diff --git a/chrome/test/base/in_process_browser_test.cc b/chrome/test/base/in_process_browser_test.cc
|
| index 75db28022c5968c5a8683e14c57d77898e328253..570b500087367633e5251b5addb0e8aee0c3fe18 100644
|
| --- a/chrome/test/base/in_process_browser_test.cc
|
| +++ b/chrome/test/base/in_process_browser_test.cc
|
| @@ -176,6 +176,14 @@ void InProcessBrowserTest::PrepareTestCommandLine(CommandLine* command_line) {
|
|
|
| // TODO(pkotwicz): Investigate if we can remove this switch.
|
| command_line->AppendSwitch(switches::kDisableZeroBrowsersOpenForTests);
|
| +
|
| +#if defined(OS_CHROMEOS)
|
| + // Setup a bogus device management URL, so that the cloud policy providers
|
| + // are created. This doesn't have to be a real server.
|
| + command_line->AppendSwitchASCII(switches::kDeviceManagementUrl,
|
| + "http://localhost:8080/device_management");
|
| + command_line->AppendSwitch(switches::kEnableDevicePolicy);
|
| +#endif
|
| }
|
|
|
| bool InProcessBrowserTest::CreateUserDataDirectory() {
|
|
|