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

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: rebase onto 147656 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
« no previous file with comments | « chrome/installer/setup/install_worker.cc ('k') | chrome/installer/setup/setup_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/setup/setup_main.cc
diff --git a/chrome/installer/setup/setup_main.cc b/chrome/installer/setup/setup_main.cc
index e85ae5486f59ada5e173854037b29318368a1ffe..eb59d175a630b57a8153b5bbdcb399353f9375f4 100644
--- a/chrome/installer/setup/setup_main.cc
+++ b/chrome/installer/setup/setup_main.cc
@@ -1077,6 +1077,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 =
« no previous file with comments | « chrome/installer/setup/install_worker.cc ('k') | chrome/installer/setup/setup_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698