| Index: chrome/browser/ui/views/ash/chrome_shell_delegate.cc
|
| diff --git a/chrome/browser/ui/views/ash/chrome_shell_delegate.cc b/chrome/browser/ui/views/ash/chrome_shell_delegate.cc
|
| index 0d4cea98ecbfa26bdd8bfb3bf0b2f23e57c7c7d7..cf681708e147b1861a35be25964d62fc321c2ad9 100644
|
| --- a/chrome/browser/ui/views/ash/chrome_shell_delegate.cc
|
| +++ b/chrome/browser/ui/views/ash/chrome_shell_delegate.cc
|
| @@ -186,16 +186,18 @@ void ChromeShellDelegate::OpenCrosh() {
|
| #endif
|
| }
|
|
|
| -void ChromeShellDelegate::OpenMobileSetup() {
|
| +void ChromeShellDelegate::OpenMobileSetup(const std::string& service_path) {
|
| #if defined(OS_CHROMEOS)
|
| Browser* browser = browser::FindOrCreateTabbedBrowser(
|
| ProfileManager::GetDefaultProfileOrOffTheRecord());
|
| if (CommandLine::ForCurrentProcess()->HasSwitch(
|
| switches::kEnableMobileSetupDialog)) {
|
| - MobileSetupDialog::Show();
|
| + MobileSetupDialog::Show(service_path);
|
| } else {
|
| + std::string url(chrome::kChromeUIMobileSetupURL);
|
| + url.append(service_path);
|
| browser->OpenURL(
|
| - content::OpenURLParams(GURL(chrome::kChromeUIMobileSetupURL),
|
| + content::OpenURLParams(GURL(url),
|
| content::Referrer(),
|
| NEW_FOREGROUND_TAB,
|
| content::PAGE_TRANSITION_LINK,
|
|
|