OLD | NEW |
1 // Copyright (c) 2012 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 #include "components/autofill/common/password_generation_util.h" | 5 #include "components/autofill/core/common/password_generation_util.h" |
6 | 6 |
7 #include "base/metrics/histogram.h" | 7 #include "base/metrics/histogram.h" |
8 | 8 |
9 namespace autofill { | 9 namespace autofill { |
10 namespace password_generation { | 10 namespace password_generation { |
11 | 11 |
12 PasswordGenerationActions::PasswordGenerationActions() | 12 PasswordGenerationActions::PasswordGenerationActions() |
13 : learn_more_visited(false), | 13 : learn_more_visited(false), |
14 password_accepted(false), | 14 password_accepted(false), |
15 password_edited(false), | 15 password_edited(false), |
(...skipping 17 matching lines...) Expand all Loading... |
33 action, ACTION_ENUM_COUNT); | 33 action, ACTION_ENUM_COUNT); |
34 } | 34 } |
35 | 35 |
36 void LogPasswordGenerationEvent(PasswordGenerationEvent event) { | 36 void LogPasswordGenerationEvent(PasswordGenerationEvent event) { |
37 UMA_HISTOGRAM_ENUMERATION("PasswordGeneration.Event", | 37 UMA_HISTOGRAM_ENUMERATION("PasswordGeneration.Event", |
38 event, EVENT_ENUM_COUNT); | 38 event, EVENT_ENUM_COUNT); |
39 } | 39 } |
40 | 40 |
41 } // namespace password_generation | 41 } // namespace password_generation |
42 } // namespace autofill | 42 } // namespace autofill |
OLD | NEW |