OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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/autocheckout_manager.h" | 5 #include "components/autofill/browser/autocheckout_manager.h" |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "base/bind.h" | 8 #include "base/bind.h" |
9 #include "base/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
10 #include "components/autofill/browser/autocheckout_request_manager.h" | 10 #include "components/autofill/browser/autocheckout_request_manager.h" |
11 #include "components/autofill/browser/autofill_country.h" | 11 #include "components/autofill/browser/autofill_country.h" |
12 #include "components/autofill/browser/autofill_field.h" | 12 #include "components/autofill/browser/autofill_field.h" |
13 #include "components/autofill/browser/autofill_manager.h" | 13 #include "components/autofill/browser/autofill_manager.h" |
14 #include "components/autofill/browser/autofill_metrics.h" | 14 #include "components/autofill/browser/autofill_metrics.h" |
15 #include "components/autofill/browser/autofill_profile.h" | 15 #include "components/autofill/browser/autofill_profile.h" |
16 #include "components/autofill/browser/credit_card.h" | 16 #include "components/autofill/browser/credit_card.h" |
17 #include "components/autofill/browser/field_types.h" | 17 #include "components/autofill/browser/field_types.h" |
18 #include "components/autofill/browser/form_structure.h" | 18 #include "components/autofill/browser/form_structure.h" |
19 #include "components/autofill/common/autofill_messages.h" | 19 #include "components/autofill/common/autofill_messages.h" |
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
464 google_transaction_id_); | 464 google_transaction_id_); |
465 | 465 |
466 // Log the result of this Autocheckout flow to UMA. | 466 // Log the result of this Autocheckout flow to UMA. |
467 metric_logger_->LogAutocheckoutBuyFlowMetric( | 467 metric_logger_->LogAutocheckoutBuyFlowMetric( |
468 AutocheckoutStatusToUmaMetric(status)); | 468 AutocheckoutStatusToUmaMetric(status)); |
469 | 469 |
470 google_transaction_id_ = kTransactionIdNotSet; | 470 google_transaction_id_ = kTransactionIdNotSet; |
471 } | 471 } |
472 | 472 |
473 } // namespace autofill | 473 } // namespace autofill |
OLD | NEW |