| Index: chrome/browser/ui/startup/startup_browser_creator.cc
|
| diff --git a/chrome/browser/ui/startup/startup_browser_creator.cc b/chrome/browser/ui/startup/startup_browser_creator.cc
|
| index 5d746d8e4bc08a306ba59a1daed25f049db6f70f..e7cd85997a25fc137c07997f1516691f1f1b47d6 100644
|
| --- a/chrome/browser/ui/startup/startup_browser_creator.cc
|
| +++ b/chrome/browser/ui/startup/startup_browser_creator.cc
|
| @@ -444,9 +444,12 @@ std::vector<GURL> StartupBrowserCreator::GetURLsFromCommandLine(
|
| if (policy->IsWebSafeScheme(url.scheme()) ||
|
| url.SchemeIs(url::kFileScheme) ||
|
| #if defined(OS_CHROMEOS)
|
| - // In ChromeOS, allow a settings page to be specified on the
|
| - // command line. See ExistingUserController::OnLoginSuccess.
|
| + // In ChromeOS, allow any settings page to be specified on the command
|
| + // line. See ExistingUserController::OnLoginSuccess.
|
| (url.spec().find(chrome::kChromeUISettingsURL) == 0) ||
|
| +#else
|
| + ((url.spec().find(std::string(chrome::kChromeUISettingsURL) +
|
| + chrome::kResetProfileSettingsSubPage) == 0)) ||
|
| #endif
|
| (url.spec().compare(url::kAboutBlankURL) == 0)) {
|
| urls.push_back(url);
|
|
|