| Index: chrome/browser/extensions/extension_browsertest.cc
|
| diff --git a/chrome/browser/extensions/extension_browsertest.cc b/chrome/browser/extensions/extension_browsertest.cc
|
| index bb85609afb90eaf7e71b6e1ff536824a54c521fc..b051df9d0a3d7bdeaca30ad6c6fc22ddbf50e2db 100644
|
| --- a/chrome/browser/extensions/extension_browsertest.cc
|
| +++ b/chrome/browser/extensions/extension_browsertest.cc
|
| @@ -46,6 +46,10 @@
|
| #include "extensions/common/constants.h"
|
| #include "sync/api/string_ordinal.h"
|
|
|
| +#if defined(OS_CHROMEOS)
|
| +#include "chromeos/chromeos_switches.h"
|
| +#endif
|
| +
|
| using extensions::Extension;
|
| using extensions::ExtensionCreator;
|
| using extensions::FeatureSwitch;
|
| @@ -101,9 +105,9 @@ void ExtensionBrowserTest::SetUpCommandLine(CommandLine* command_line) {
|
| // This makes sure that we create the Default profile first, with no
|
| // ExtensionService and then the real profile with one, as we do when
|
| // running on chromeos.
|
| - command_line->AppendSwitchASCII(switches::kLoginUser,
|
| + command_line->AppendSwitchASCII(chromeos::switches::kLoginUser,
|
| "TestUser@gmail.com");
|
| - command_line->AppendSwitchASCII(switches::kLoginProfile, "user");
|
| + command_line->AppendSwitchASCII(chromeos::switches::kLoginProfile, "user");
|
| #endif
|
| }
|
|
|
|
|