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

Unified Diff: chrome/installer/util/google_update_settings.h

Issue 11280067: Refactor SetOmahaExperimentLabel out of gcpai and into install_util. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: robertshield nits Created 7 years, 11 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/util/google_update_settings.h
diff --git a/chrome/installer/util/google_update_settings.h b/chrome/installer/util/google_update_settings.h
index 370c4a6574aebf9a556c785189d6faa7a657bcdb..533d0bbc6668b3bc0701ffc1216a3d4b40b39e7c 100644
--- a/chrome/installer/util/google_update_settings.h
+++ b/chrome/installer/util/google_update_settings.h
@@ -248,6 +248,15 @@ class GoogleUpdateSettings {
// GetUpdateDetailForApp with the app guid stored in BrowserDistribution.)
static bool GetUpdateDetail(bool system_install, ProductData* data);
+ // Sets |experiment_labels| as the Omaha experiment_labels value in the
+ // ClientState key for this Chrome product, if appropriate. If
+ // |experiment_labels| is empty, this will delete the value instead. This will
+ // return true if the label was successfully set (or deleted), false otherwise
+ // (even if the label does not need to be set for this particular distribution
+ // type).
+ static bool SetExperimentLabels(bool system_install,
+ const string16& experiment_labels);
+
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(GoogleUpdateSettings);
};

Powered by Google App Engine
This is Rietveld 408576698