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

Unified Diff: chrome/installer/util/browser_distribution.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: Rebase Created 8 years, 1 month 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/browser_distribution.h
diff --git a/chrome/installer/util/browser_distribution.h b/chrome/installer/util/browser_distribution.h
index 8525a9de3477155b6f5589aa1c3b349ce017afc6..54c53e119f58079ba02f1c291bf7f4641f9f381f 100644
--- a/chrome/installer/util/browser_distribution.h
+++ b/chrome/installer/util/browser_distribution.h
@@ -164,6 +164,10 @@ class BrowserDistribution {
const installer::Product& installation,
const FilePath& application_path);
+ // Returns true if this distribution should write to the Omaha
+ // experiment_labels registry value.
+ virtual bool ShouldWriteExperimentLabels() const;
grt (UTC plus 2) 2012/11/24 02:58:37 I admire (and share) your desire to make this cons
grt (UTC plus 2) 2012/11/24 02:58:37 While writing the experiment labels is the fine-gr
SteveT 2012/11/26 20:45:06 I _was_ a bit confused that similar methods in thi
SteveT 2012/11/26 20:45:06 I thought about your original suggestion "HasExper
+
protected:
explicit BrowserDistribution(Type type);

Powered by Google App Engine
This is Rietveld 408576698