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

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

Issue 12998005: Minor cleanups for user experiments (follow-up to Issue 12321061). (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 9 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 | « no previous file | chrome/installer/util/user_experiment.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 0cf8f84389044d26883a7e05611ecbaa36f958b7..17c8d7d6336d460c5442f11e079d70e6774397e6 100644
--- a/chrome/installer/setup/setup_main.cc
+++ b/chrome/installer/setup/setup_main.cc
@@ -1425,6 +1425,8 @@ bool HandleNonInstallCmdLineOptions(const InstallationState& original_state,
if (flavor == -1) {
*exit_code = installer::UNKNOWN_STATUS;
} else {
+ // This code is called (via Chrome relaunch) only if a product is known
grt (UTC plus 2) 2013/03/27 13:49:23 I'm not sure what you mean by "Chrome relaunch".
huangs 2013/03/27 15:01:25 My bad. Changed to setup.exe.
+ // to run user experiments, so no check required.
const Products& products = installer_state->products();
for (Products::const_iterator it = products.begin(); it < products.end();
++it) {
« no previous file with comments | « no previous file | chrome/installer/util/user_experiment.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698