| Index: chrome/browser/policy/policy_browsertest.cc
|
| diff --git a/chrome/browser/policy/policy_browsertest.cc b/chrome/browser/policy/policy_browsertest.cc
|
| index 0bddfa1495b58e5c7784a0bd193771647d396a0e..12f19141f3d5bad8c266490c6441912fffd5495c 100644
|
| --- a/chrome/browser/policy/policy_browsertest.cc
|
| +++ b/chrome/browser/policy/policy_browsertest.cc
|
| @@ -53,6 +53,7 @@
|
| #include "chrome/browser/ui/tab_contents/tab_contents.h"
|
| #include "chrome/browser/ui/tabs/tab_strip_model.h"
|
| #include "chrome/common/chrome_notification_types.h"
|
| +#include "chrome/common/chrome_switches.h"
|
| #include "chrome/common/content_settings.h"
|
| #include "chrome/common/extensions/extension.h"
|
| #include "chrome/common/extensions/extension_constants.h"
|
| @@ -1208,6 +1209,14 @@ class RestoreOnStartupPolicyTest
|
| RestoreOnStartupPolicyTest() {}
|
| virtual ~RestoreOnStartupPolicyTest() {}
|
|
|
| +#if defined(OS_CHROMEOS)
|
| + virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE {
|
| + // TODO(nkostylev): Investigate if we can remove this switch.
|
| + command_line->AppendSwitch(switches::kCreateBrowserOnStartupForTests);
|
| + PolicyTest::SetUpCommandLine(command_line);
|
| + }
|
| +#endif
|
| +
|
| virtual void SetUpInProcessBrowserTestFixture() OVERRIDE {
|
| PolicyTest::SetUpInProcessBrowserTestFixture();
|
| // Set early policies now, before the browser is created.
|
|
|