Index: chrome/installer/setup/setup_main.cc |
diff --git a/chrome/installer/setup/setup_main.cc b/chrome/installer/setup/setup_main.cc |
index 139b8274e9eb5c81aba8e38593fc0d1b12a05436..0bba37f42be504e2fc7c5af312fe60bd381e9cc6 100644 |
--- a/chrome/installer/setup/setup_main.cc |
+++ b/chrome/installer/setup/setup_main.cc |
@@ -1226,6 +1226,14 @@ bool HandleNonInstallCmdLineOptions(const InstallationState& original_state, |
} else if (cmd_line.HasSwitch(installer::switches::kChromeFrameQuickEnable)) { |
*exit_code = installer::ChromeFrameQuickEnable(original_state, |
installer_state); |
+ } else if (cmd_line.HasSwitch(installer::switches::kOnOsUpgrade)) { |
gab
2012/08/28 16:08:19
All the last switches are ChromeFrame related, I f
grt (UTC plus 2)
2012/08/28 19:35:39
i strongly advise against changing the order of th
gab
2012/08/29 03:23:48
No no no! I'm not suggesting to move other calls!
huangs
2012/08/29 17:02:54
Moved (and only moved) my code.
|
+ handled = false; |
+ if (cmd_line.HasSwitch(installer::switches::kChrome)) { |
grt (UTC plus 2)
2012/08/28 19:35:39
one way to make this more OO would be to add a met
huangs
2012/08/29 17:02:54
Doing this would bring in another 11 files to the
|
+ *exit_code = InstallUtil::GetInstallReturnCode( |
+ installer::ChromeBrowserOnOsUpgrade(original_state, *installer_state, |
+ cmd_line)); |
+ handled = true; |
+ } |
} else { |
handled = false; |
} |