| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 COMPONENTS_AUTOFILL_IOS_BROWSER_AUTOFILL_FIELD_TRIAL_IOS_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_FIELD_TRIAL_IOS_H_ |
| 6 #define COMPONENTS_AUTOFILL_IOS_BROWSER_AUTOFILL_FIELD_TRIAL_IOS_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_FIELD_TRIAL_IOS_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 | 9 |
| 10 namespace autofill { | 10 namespace autofill { |
| 11 | 11 |
| 12 // This class manages the iOS Autofill field trials. | 12 // This class manages the iOS Autofill field trials. |
| 13 class AutofillFieldTrialIOS { | 13 class AutofillFieldTrialIOS { |
| 14 public: | 14 public: |
| 15 // Returns whether the user is in a full-form Autofill field trial. Full-form | 15 // Returns whether the user is in a full-form Autofill field trial. Full-form |
| 16 // Autofill fills all fields of the form at once, similar to the desktop and | 16 // Autofill fills all fields of the form at once, similar to the desktop and |
| 17 // Clank Autofill implementations. Previous iOS implementation requires user | 17 // Clank Autofill implementations. Previous iOS implementation requires user |
| 18 // to select an Autofill value for each field individually, automatically | 18 // to select an Autofill value for each field individually, automatically |
| 19 // advancing focus to the next field after each selection. | 19 // advancing focus to the next field after each selection. |
| 20 static bool IsFullFormAutofillEnabled(); | 20 static bool IsFullFormAutofillEnabled(); |
| 21 | 21 |
| 22 private: | 22 private: |
| 23 DISALLOW_IMPLICIT_CONSTRUCTORS(AutofillFieldTrialIOS); | 23 DISALLOW_IMPLICIT_CONSTRUCTORS(AutofillFieldTrialIOS); |
| 24 }; | 24 }; |
| 25 | 25 |
| 26 } // namespace autofill | 26 } // namespace autofill |
| 27 | 27 |
| 28 #endif // COMPONENTS_AUTOFILL_IOS_BROWSER_AUTOFILL_FIELD_TRIAL_IOS_H_ | 28 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_FIELD_TRIAL_IOS_H_ |
| OLD | NEW |