Index: chrome/browser/first_run/first_run_win.cc |
diff --git a/chrome/browser/first_run/first_run_win.cc b/chrome/browser/first_run/first_run_win.cc |
index 8c8707ffbb35ce7dea430be55b96532a040aaf0c..641b131da1626a587751e5415ba15056601da05a 100644 |
--- a/chrome/browser/first_run/first_run_win.cc |
+++ b/chrome/browser/first_run/first_run_win.cc |
@@ -332,6 +332,10 @@ bool ImportSettingsWin(Profile* profile, |
}; |
import_cmd.CopySwitchesFrom(cmdline, kSwitchNames, arraysize(kSwitchNames)); |
+ // Allow tests to introduce additional switches. |
+ import_cmd.AppendArguments(first_run::GetExtraArgumentsForImportProcess(), |
sky
2012/12/18 16:24:02
Instead of this, can you mutate the command line a
tapted
2012/12/19 00:07:53
I haven't yet found a clean way to do that.. The p
sky
2012/12/19 16:14:00
What happens if you add --as-browser to your tests
|
+ false); |
+ |
// Since ImportSettings is called before the local state is stored on disk |
// we pass the language as an argument. GetApplicationLocale checks the |
// current command line as fallback. |