Chromium Code Reviews| Index: chrome/installer/util/browser_distribution.h |
| =================================================================== |
| --- chrome/installer/util/browser_distribution.h (revision 147935) |
| +++ chrome/installer/util/browser_distribution.h (working copy) |
| @@ -33,6 +33,14 @@ |
| NUM_TYPES |
| }; |
| + // Flags to control what to show in the UserExperiment dialog. |
| + enum ToastUIflags { |
| + kUninstall = 1, // Uninstall radio button. |
| + kDontBugMeAsButton = 2, // Don't bug me is a button, not a radio button. |
| + kWhyLink = 4, // Has the 'why I am seeing this' link. |
| + kMakeDefault = 8 // Has the 'make it default' checkbox. |
| + }; |
| + |
| // A struct for communicating what a UserExperiment contains. In these |
| // experiments we show toasts to the user if they are inactive for a certain |
| // amount of time. |
| @@ -41,7 +49,8 @@ |
| // also known as the 'TV' part in 'TV80'. |
| int flavor; // The flavor index for this experiment. |
| int heading; // The heading resource ID to use for this experiment. |
| - bool compact_bubble; // Whether to show the compact heading or not. |
| + int flags; // See ToastUIFlags above. |
| + bool make_default; // Whether to show a checkbox to make chrome default. |
|
Finnur
2012/07/26 12:27:07
If you have the flags, why do you need the bool?
cpu_(ooo_6.6-7.5)
2012/07/27 03:06:23
Good catch. done.
|
| int control_group; // Size of the control group (in percentages). Control |
| // group is the group that qualifies for the |
| // experiment but does not participate. |