Index: chrome/installer/util/product.cc |
diff --git a/chrome/installer/util/product.cc b/chrome/installer/util/product.cc |
index bc3e6b3f8b93a9a4223250287edba44285e8a0b5..3b1134f464a13e87cde17cb9f40f3938661c5784 100644 |
--- a/chrome/installer/util/product.cc |
+++ b/chrome/installer/util/product.cc |
@@ -21,6 +21,7 @@ |
#include "chrome/installer/util/master_preferences.h" |
#include "chrome/installer/util/master_preferences_constants.h" |
#include "chrome/installer/util/product_operations.h" |
+#include "chrome/installer/util/user_experiment.h" |
using base::win::RegKey; |
using installer::MasterPreferences; |
@@ -163,4 +164,13 @@ void Product::AddDefaultShortcutProperties( |
distribution_, target_exe, properties); |
} |
+void Product::LaunchUserExperiment(const base::FilePath& setup_path, |
+ InstallStatus status, |
+ bool system_level) const { |
+ if (operations_->ShouldLaunchUserExperiment()) { |
gab
2013/03/04 23:40:30
I'm really not a fan of having these two entry poi
grt (UTC plus 2)
2013/03/05 14:33:22
what i had in mind is:
if (distribution_->HasUse
gab
2013/03/05 14:58:00
Ah ok, the downside is that callers have to rememb
huangs
2013/03/05 15:38:00
Personally I'd prefer NOT changing Operations, sin
grt (UTC plus 2)
2013/03/05 16:30:49
If you want to avoid creating stub implementations
huangs
2013/03/05 16:48:34
Okay, I'm for making ProductOperationsImpl! Let's
|
+ installer::user_experiment::LaunchUserExperiment(setup_path, status, |
+ *this, system_level); |
+ } |
+} |
+ |
} // namespace installer |