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

Unified Diff: chrome/installer/setup/setup_main.cc

Issue 10810021: Register Chrome in Active Setup to be called by Windows at user login. (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/installer/setup/setup_main.cc
diff --git a/chrome/installer/setup/setup_main.cc b/chrome/installer/setup/setup_main.cc
index 7925d7911ba25224bbc19e056af110c962708bce..9d9ff5a5ec26f08bc53748e4c5c1a19e5ee2d6f1 100644
--- a/chrome/installer/setup/setup_main.cc
+++ b/chrome/installer/setup/setup_main.cc
@@ -992,6 +992,14 @@ bool HandleNonInstallCmdLineOptions(const InstallationState& original_state,
original_state, BrowserDistribution::GetDistribution(), true);
}
} else if (cmd_line.HasSwitch(
+ installer::switches::kConfigureUserSettings)) {
+ DCHECK(installer_state->system_install());
+ const Product* chrome_install =
+ installer_state->FindProduct(BrowserDistribution::CHROME_BROWSER);
+ DCHECK(chrome_install);
+ // TODO(gab): Implement the new shortcut functionality here.
+ LOG(ERROR) << "--configure-user-settings is not implemented.";
+ } else if (cmd_line.HasSwitch(
installer::switches::kRegisterChromeBrowser)) {
installer::InstallStatus status = installer::UNKNOWN_STATUS;
const Product* chrome_install =

Powered by Google App Engine
This is Rietveld 408576698