OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_EXTENSIONS_DEFAULT_APPS_TRIAL_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_DEFAULT_APPS_TRIAL_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_DEFAULT_APPS_TRIAL_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_DEFAULT_APPS_TRIAL_H_ |
7 #pragma once | |
8 | 7 |
9 // Strings used with default apps field trial. If the field trial is running | 8 // Strings used with default apps field trial. If the field trial is running |
10 // base::FieldTrialList::TrialExists(kDefaultAppsTrial_Name) returns true. | 9 // base::FieldTrialList::TrialExists(kDefaultAppsTrial_Name) returns true. |
11 // | 10 // |
12 // The field trial consists of two groups of users: those that get default apps | 11 // The field trial consists of two groups of users: those that get default apps |
13 // installed in the NTP and those that don't. The group_name() of the field | 12 // installed in the NTP and those that don't. The group_name() of the field |
14 // trial object is used to determine the group that the user belongs to. | 13 // trial object is used to determine the group that the user belongs to. |
15 // | 14 // |
16 // The field trial is setup in ChromeBrowserMainParts::DefaultAppsFieldTrial() | 15 // The field trial is setup in ChromeBrowserMainParts::DefaultAppsFieldTrial() |
17 // based on the user's brand code: | 16 // based on the user's brand code: |
18 // | 17 // |
19 // - brand ECDA gets default apps | 18 // - brand ECDA gets default apps |
20 // - brand ECDB does not get default apps | 19 // - brand ECDB does not get default apps |
21 // - any other brand code get default apps, but they are not part of the | 20 // - any other brand code get default apps, but they are not part of the |
22 // trial | 21 // trial |
23 | 22 |
24 extern const char kDefaultAppsTrialName[]; | 23 extern const char kDefaultAppsTrialName[]; |
25 extern const char kDefaultAppsTrialNoAppsGroup[]; | 24 extern const char kDefaultAppsTrialNoAppsGroup[]; |
26 extern const char kDefaultAppsTrialWithAppsGroup[]; | 25 extern const char kDefaultAppsTrialWithAppsGroup[]; |
27 | 26 |
28 #endif // CHROME_BROWSER_EXTENSIONS_DEFAULT_APPS_TRIAL_H_ | 27 #endif // CHROME_BROWSER_EXTENSIONS_DEFAULT_APPS_TRIAL_H_ |
OLD | NEW |