| 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_AUTOFILL_AUTOFILL_METRICS_H_ | 5 #ifndef COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_METRICS_H_ |
| 6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_METRICS_H_ | 6 #define COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_METRICS_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "chrome/browser/autofill/autofill_manager_delegate.h" | 12 #include "components/autofill/browser/autofill_manager_delegate.h" |
| 13 #include "chrome/browser/autofill/field_types.h" | 13 #include "components/autofill/browser/field_types.h" |
| 14 | 14 |
| 15 namespace base { | 15 namespace base { |
| 16 class TimeDelta; | 16 class TimeDelta; |
| 17 } | 17 } |
| 18 | 18 |
| 19 class AutofillMetrics { | 19 class AutofillMetrics { |
| 20 public: | 20 public: |
| 21 // The success or failure of Autocheckout. | 21 // The success or failure of Autocheckout. |
| 22 enum AutocheckoutCompletionStatus { | 22 enum AutocheckoutCompletionStatus { |
| 23 AUTOCHECKOUT_FAILED, // The user canceled out of the dialog after | 23 AUTOCHECKOUT_FAILED, // The user canceled out of the dialog after |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 const std::string& experiment_id) const; | 238 const std::string& experiment_id) const; |
| 239 | 239 |
| 240 // Logs the experiment id corresponding to an upload to the server. | 240 // Logs the experiment id corresponding to an upload to the server. |
| 241 virtual void LogServerExperimentIdForUpload( | 241 virtual void LogServerExperimentIdForUpload( |
| 242 const std::string& experiment_id) const; | 242 const std::string& experiment_id) const; |
| 243 | 243 |
| 244 private: | 244 private: |
| 245 DISALLOW_COPY_AND_ASSIGN(AutofillMetrics); | 245 DISALLOW_COPY_AND_ASSIGN(AutofillMetrics); |
| 246 }; | 246 }; |
| 247 | 247 |
| 248 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_METRICS_H_ | 248 #endif // COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_METRICS_H_ |
| OLD | NEW |