| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_SHARED_PASSWORD_GENERATION_UTIL_H_ | 5 #ifndef COMPONENTS_AUTOFILL_COMMON_PASSWORD_GENERATION_UTIL_H_ |
| 6 #define COMPONENTS_AUTOFILL_SHARED_PASSWORD_GENERATION_UTIL_H_ | 6 #define COMPONENTS_AUTOFILL_COMMON_PASSWORD_GENERATION_UTIL_H_ |
| 7 | 7 |
| 8 namespace autofill { | 8 namespace autofill { |
| 9 namespace password_generation { | 9 namespace password_generation { |
| 10 | 10 |
| 11 // Enumerates various events related to the password generation process. | 11 // Enumerates various events related to the password generation process. |
| 12 enum PasswordGenerationEvent { | 12 enum PasswordGenerationEvent { |
| 13 // No Account creation form is detected. | 13 // No Account creation form is detected. |
| 14 NO_SIGN_UP_DETECTED, | 14 NO_SIGN_UP_DETECTED, |
| 15 | 15 |
| 16 // Account creation form is detected. | 16 // Account creation form is detected. |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 // User accepts the gererated password after manually editing it. | 67 // User accepts the gererated password after manually editing it. |
| 68 ACCEPT_AFTER_EDITING, | 68 ACCEPT_AFTER_EDITING, |
| 69 | 69 |
| 70 // Number of enum entries, used for UMA histogram reporting macros. | 70 // Number of enum entries, used for UMA histogram reporting macros. |
| 71 ACTION_ENUM_COUNT | 71 ACTION_ENUM_COUNT |
| 72 }; | 72 }; |
| 73 | 73 |
| 74 } // namespace password_generation | 74 } // namespace password_generation |
| 75 } // namespace autofill | 75 } // namespace autofill |
| 76 | 76 |
| 77 #endif // COMPONENTS_AUTOFILL_SHARED_PASSWORD_GENERATION_UTIL_H_ | 77 #endif // COMPONENTS_AUTOFILL_COMMON_PASSWORD_GENERATION_UTIL_H_ |
| OLD | NEW |