Index: chrome/installer/util/install_util.h |
diff --git a/chrome/installer/util/install_util.h b/chrome/installer/util/install_util.h |
index c7c449577681aeaa609a92c4366050d6c4ee29d4..5d9ff1d618ad593b0056e1e33c90493b27424035 100644 |
--- a/chrome/installer/util/install_util.h |
+++ b/chrome/installer/util/install_util.h |
@@ -175,6 +175,14 @@ class InstallUtil { |
// Returns a string in the form YYYYMMDD of the current date. |
static string16 GetCurrentDate(); |
+ // Sets |experiment_label| as the Omaha experiment_labels value in the |
+ // ClientState key for this Chrome product. If |system_install| is true, this |
grt (UTC plus 2)
2012/11/24 02:58:37
The HKLM/HKCU part of the comment is a bit superfl
SteveT
2012/11/26 20:45:06
K, removed.
|
+ // will write to HKLM, otherwise it will write to HKCU. This will return true |
+ // if the label was successfully written, false otherwise (even if the label |
grt (UTC plus 2)
2012/11/24 02:58:37
I think it's less ambiguous from the standpoint of
SteveT
2012/11/26 20:45:06
GCAPI doesn't seem to care at all what the result
grt (UTC plus 2)
2012/11/26 21:19:05
In the installer, we make heavy use of LOG(foo) an
|
+ // does not need to be written for this particular distribution type). |
+ static bool SetOmahaExperimentLabel(const string16& experiment_label, |
grt (UTC plus 2)
2012/11/24 02:58:37
I think it's more consistent with the surrounding
SteveT
2012/11/26 20:45:06
Done.
|
+ bool system_install); |
+ |
// A predicate that compares the program portion of a command line with a |
// given file path. First, the file paths are compared directly. If they do |
// not match, the filesystem is consulted to determine if the paths reference |