OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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/content/browser/autocheckout_manager.h" | 5 #include "components/autofill/content/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/strings/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
10 #include "components/autofill/browser/autofill_country.h" | 10 #include "components/autofill/browser/autofill_country.h" |
11 #include "components/autofill/browser/autofill_field.h" | 11 #include "components/autofill/browser/autofill_field.h" |
12 #include "components/autofill/browser/autofill_manager.h" | 12 #include "components/autofill/browser/autofill_manager.h" |
13 #include "components/autofill/browser/autofill_metrics.h" | 13 #include "components/autofill/browser/autofill_metrics.h" |
14 #include "components/autofill/browser/autofill_profile.h" | 14 #include "components/autofill/browser/autofill_profile.h" |
15 #include "components/autofill/browser/credit_card.h" | 15 #include "components/autofill/browser/credit_card.h" |
16 #include "components/autofill/browser/field_types.h" | 16 #include "components/autofill/browser/field_types.h" |
17 #include "components/autofill/browser/form_structure.h" | 17 #include "components/autofill/browser/form_structure.h" |
18 #include "components/autofill/common/autofill_messages.h" | |
19 #include "components/autofill/common/form_data.h" | |
20 #include "components/autofill/common/form_field_data.h" | |
21 #include "components/autofill/common/web_element_descriptor.h" | |
22 #include "components/autofill/content/browser/autocheckout_request_manager.h" | 18 #include "components/autofill/content/browser/autocheckout_request_manager.h" |
| 19 #include "components/autofill/core/common/autofill_messages.h" |
| 20 #include "components/autofill/core/common/form_data.h" |
| 21 #include "components/autofill/core/common/form_field_data.h" |
| 22 #include "components/autofill/core/common/web_element_descriptor.h" |
23 #include "content/public/browser/browser_context.h" | 23 #include "content/public/browser/browser_context.h" |
24 #include "content/public/browser/browser_thread.h" | 24 #include "content/public/browser/browser_thread.h" |
25 #include "content/public/browser/render_view_host.h" | 25 #include "content/public/browser/render_view_host.h" |
26 #include "content/public/browser/web_contents.h" | 26 #include "content/public/browser/web_contents.h" |
27 #include "content/public/common/ssl_status.h" | 27 #include "content/public/common/ssl_status.h" |
28 #include "googleurl/src/gurl.h" | 28 #include "googleurl/src/gurl.h" |
29 #include "net/cookies/cookie_options.h" | 29 #include "net/cookies/cookie_options.h" |
30 #include "net/cookies/cookie_store.h" | 30 #include "net/cookies/cookie_store.h" |
31 #include "net/url_request/url_request_context.h" | 31 #include "net/url_request/url_request_context.h" |
32 #include "net/url_request/url_request_context_getter.h" | 32 #include "net/url_request/url_request_context_getter.h" |
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
476 google_transaction_id_); | 476 google_transaction_id_); |
477 | 477 |
478 // Log the result of this Autocheckout flow to UMA. | 478 // Log the result of this Autocheckout flow to UMA. |
479 metric_logger_->LogAutocheckoutBuyFlowMetric( | 479 metric_logger_->LogAutocheckoutBuyFlowMetric( |
480 AutocheckoutStatusToUmaMetric(status)); | 480 AutocheckoutStatusToUmaMetric(status)); |
481 | 481 |
482 google_transaction_id_ = kTransactionIdNotSet; | 482 google_transaction_id_ = kTransactionIdNotSet; |
483 } | 483 } |
484 | 484 |
485 } // namespace autofill | 485 } // namespace autofill |
OLD | NEW |