Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(808)

Unified Diff: chrome/browser/ui/views/ash/chrome_shell_delegate.cc

Issue 10790133: Enable Verizon Activation from OOBE/Login screen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 03e623c1055aa1efd2ac3ea12ac9e473e4c9683c..e27c8421c4b64a861ec49e78268ed2b269382024 100644
--- a/chrome/browser/ui/views/ash/chrome_shell_delegate.cc
+++ b/chrome/browser/ui/views/ash/chrome_shell_delegate.cc
@@ -200,21 +200,7 @@ void ChromeShellDelegate::OpenCrosh() {
void ChromeShellDelegate::OpenMobileSetup(const std::string& service_path) {
#if defined(OS_CHROMEOS)
- Browser* browser = GetTargetBrowser();
- if (CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableMobileSetupDialog)) {
- MobileSetupDialog::Show(service_path);
- } else {
- std::string url(chrome::kChromeUIMobileSetupURL);
- url.append(service_path);
- browser->OpenURL(
- content::OpenURLParams(GURL(url),
- content::Referrer(),
- NEW_FOREGROUND_TAB,
- content::PAGE_TRANSITION_LINK,
- false));
- browser->window()->Activate();
- }
+ MobileSetupDialog::Show(service_path);
#endif
}
« no previous file with comments | « chrome/browser/chromeos/system/ash_system_tray_delegate.cc ('k') | chrome/browser/ui/webui/chromeos/mobile_setup_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698