| 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/browser/autofill_metrics.h" | 5 #include "components/autofill/core/browser/autofill_metrics.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/metrics/histogram.h" | 8 #include "base/metrics/histogram.h" |
| 9 #include "base/time.h" | 9 #include "base/time.h" |
| 10 #include "components/autofill/browser/autofill_type.h" | 10 #include "components/autofill/core/browser/autofill_type.h" |
| 11 #include "components/autofill/browser/form_structure.h" | 11 #include "components/autofill/core/browser/form_structure.h" |
| 12 #include "components/autofill/core/common/form_data.h" | 12 #include "components/autofill/core/common/form_data.h" |
| 13 | 13 |
| 14 namespace autofill { | 14 namespace autofill { |
| 15 | 15 |
| 16 namespace { | 16 namespace { |
| 17 | 17 |
| 18 // Server experiments we support. | 18 // Server experiments we support. |
| 19 enum ServerExperiment { | 19 enum ServerExperiment { |
| 20 NO_EXPERIMENT = 0, | 20 NO_EXPERIMENT = 0, |
| 21 UNKNOWN_EXPERIMENT, | 21 UNKNOWN_EXPERIMENT, |
| (...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 597 const std::string& experiment_id) const { | 597 const std::string& experiment_id) const { |
| 598 LogServerExperimentId("Autofill.ServerExperimentId.Query", experiment_id); | 598 LogServerExperimentId("Autofill.ServerExperimentId.Query", experiment_id); |
| 599 } | 599 } |
| 600 | 600 |
| 601 void AutofillMetrics::LogServerExperimentIdForUpload( | 601 void AutofillMetrics::LogServerExperimentIdForUpload( |
| 602 const std::string& experiment_id) const { | 602 const std::string& experiment_id) const { |
| 603 LogServerExperimentId("Autofill.ServerExperimentId.Upload", experiment_id); | 603 LogServerExperimentId("Autofill.ServerExperimentId.Upload", experiment_id); |
| 604 } | 604 } |
| 605 | 605 |
| 606 } // namespace autofill | 606 } // namespace autofill |
| OLD | NEW |