Commit 3e6cba46 authored by mad@chromium.org's avatar mad@chromium.org

Expose the profile reset UI to the command line

BUG=400469

Review URL: https://codereview.chromium.org/436323002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287524 0039d316-1c4b-4281-b951-d872f2087c98
parent 967fcdac
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment