| 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 | 7 #pragma once |
| 8 | 8 |
| 9 // Strings used with default apps field trial. If the field trial is running | 9 // Strings used with default apps field trial. If the field trial is running |
| 10 // base::FieldTrialList::TrialExists(kDefaultAppsTrial_Name) returns true. | 10 // base::FieldTrialList::TrialExists(kDefaultAppsTrial_Name) returns true. |
| 11 // | 11 // |
| 12 // The field trial consists of two groups of users: those that get default apps | 12 // 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 | 13 // 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. | 14 // trial object is used to determine the group that the user belongs to. |
| 15 // | 15 // |
| 16 // The field trial is setup in ChromeBrowserMainParts::DefaultAppsFieldTrial() | 16 // The field trial is setup in ChromeBrowserMainParts::DefaultAppsFieldTrial() |
| 17 // based on the user's brand code: | 17 // based on the user's brand code: |
| 18 // | 18 // |
| 19 // - brand ECDA gets default apps | 19 // - brand ECDA gets default apps |
| 20 // - brand ECDB does not get default apps | 20 // - brand ECDB does not get default apps |
| 21 // - any other brand code get default apps, but they are not part of the | 21 // - any other brand code get default apps, but they are not part of the |
| 22 // trial | 22 // trial |
| 23 | 23 |
| 24 extern const char kDefaultAppsTrial_Name[]; | 24 extern const char kDefaultAppsTrialName[]; |
| 25 extern const char kDefaultAppsTrial_NoAppsGroup[]; | 25 extern const char kDefaultAppsTrialNoAppsGroup[]; |
| 26 extern const char kDefaultAppsTrial_WithAppsGroup[]; | 26 extern const char kDefaultAppsTrialWithAppsGroup[]; |
| 27 | 27 |
| 28 #endif // CHROME_BROWSER_EXTENSIONS_DEFAULT_APPS_TRIAL_H_ | 28 #endif // CHROME_BROWSER_EXTENSIONS_DEFAULT_APPS_TRIAL_H_ |
| OLD | NEW |