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

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

Issue 11826028: Add a method to read the Omaha experiment_labels value. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fix value 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
« no previous file with comments | « no previous file | chrome/installer/util/google_update_settings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 533d0bbc6668b3bc0701ffc1216a3d4b40b39e7c..0cab154348b03e0c6d5a4986dadcba25a08b32e0 100644
--- a/chrome/installer/util/google_update_settings.h
+++ b/chrome/installer/util/google_update_settings.h
@@ -257,6 +257,14 @@ class GoogleUpdateSettings {
static bool SetExperimentLabels(bool system_install,
const string16& experiment_labels);
+ // Reads the Omaha experiment_labels value in the ClientState key for this
+ // Chrome product and writes it into |experiment_labels|. If this distribution
+ // of Chrome does not set the experiment_labels value, this will do nothing to
+ // |experiment_labels|. This will return true if the label was successfully
+ // read.
+ static bool ReadExperimentLabels(bool system_install,
+ string16* experiment_labels);
+
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(GoogleUpdateSettings);
};
« no previous file with comments | « no previous file | chrome/installer/util/google_update_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698