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 "chrome/browser/ui/autofill/autofill_dialog_controller_impl.h" | 5 #include "chrome/browser/ui/autofill/autofill_dialog_controller_impl.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 23 matching lines...) Expand all Loading... |
34 #include "chrome/common/chrome_version_info.h" | 34 #include "chrome/common/chrome_version_info.h" |
35 #include "chrome/common/pref_names.h" | 35 #include "chrome/common/pref_names.h" |
36 #include "chrome/common/url_constants.h" | 36 #include "chrome/common/url_constants.h" |
37 #include "components/autofill/browser/autofill_country.h" | 37 #include "components/autofill/browser/autofill_country.h" |
38 #include "components/autofill/browser/autofill_data_model.h" | 38 #include "components/autofill/browser/autofill_data_model.h" |
39 #include "components/autofill/browser/autofill_manager.h" | 39 #include "components/autofill/browser/autofill_manager.h" |
40 #include "components/autofill/browser/autofill_type.h" | 40 #include "components/autofill/browser/autofill_type.h" |
41 #include "components/autofill/browser/personal_data_manager.h" | 41 #include "components/autofill/browser/personal_data_manager.h" |
42 #include "components/autofill/browser/phone_number_i18n.h" | 42 #include "components/autofill/browser/phone_number_i18n.h" |
43 #include "components/autofill/browser/validation.h" | 43 #include "components/autofill/browser/validation.h" |
44 #include "components/autofill/common/form_data.h" | |
45 #include "components/autofill/content/browser/risk/fingerprint.h" | 44 #include "components/autofill/content/browser/risk/fingerprint.h" |
46 #include "components/autofill/content/browser/risk/proto/fingerprint.pb.h" | 45 #include "components/autofill/content/browser/risk/proto/fingerprint.pb.h" |
47 #include "components/autofill/content/browser/wallet/form_field_error.h" | 46 #include "components/autofill/content/browser/wallet/form_field_error.h" |
48 #include "components/autofill/content/browser/wallet/full_wallet.h" | 47 #include "components/autofill/content/browser/wallet/full_wallet.h" |
49 #include "components/autofill/content/browser/wallet/instrument.h" | 48 #include "components/autofill/content/browser/wallet/instrument.h" |
50 #include "components/autofill/content/browser/wallet/wallet_address.h" | 49 #include "components/autofill/content/browser/wallet/wallet_address.h" |
51 #include "components/autofill/content/browser/wallet/wallet_items.h" | 50 #include "components/autofill/content/browser/wallet/wallet_items.h" |
52 #include "components/autofill/content/browser/wallet/wallet_service_url.h" | 51 #include "components/autofill/content/browser/wallet/wallet_service_url.h" |
53 #include "components/autofill/content/browser/wallet/wallet_signin_helper.h" | 52 #include "components/autofill/content/browser/wallet/wallet_signin_helper.h" |
| 53 #include "components/autofill/core/common/form_data.h" |
54 #include "components/user_prefs/pref_registry_syncable.h" | 54 #include "components/user_prefs/pref_registry_syncable.h" |
55 #include "content/public/browser/browser_thread.h" | 55 #include "content/public/browser/browser_thread.h" |
56 #include "content/public/browser/geolocation_provider.h" | 56 #include "content/public/browser/geolocation_provider.h" |
57 #include "content/public/browser/navigation_controller.h" | 57 #include "content/public/browser/navigation_controller.h" |
58 #include "content/public/browser/navigation_details.h" | 58 #include "content/public/browser/navigation_details.h" |
59 #include "content/public/browser/navigation_entry.h" | 59 #include "content/public/browser/navigation_entry.h" |
60 #include "content/public/browser/notification_service.h" | 60 #include "content/public/browser/notification_service.h" |
61 #include "content/public/browser/notification_types.h" | 61 #include "content/public/browser/notification_types.h" |
62 #include "content/public/browser/web_contents.h" | 62 #include "content/public/browser/web_contents.h" |
63 #include "content/public/browser/web_contents_view.h" | 63 #include "content/public/browser/web_contents_view.h" |
(...skipping 3036 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3100 AutofillMetrics::DIALOG_USER_SIGNED_IN_NO_WALLET_NO_AUTOFILL; | 3100 AutofillMetrics::DIALOG_USER_SIGNED_IN_NO_WALLET_NO_AUTOFILL; |
3101 } | 3101 } |
3102 | 3102 |
3103 // Has Wallet items. | 3103 // Has Wallet items. |
3104 return has_autofill_profiles ? | 3104 return has_autofill_profiles ? |
3105 AutofillMetrics::DIALOG_USER_SIGNED_IN_HAS_WALLET_HAS_AUTOFILL : | 3105 AutofillMetrics::DIALOG_USER_SIGNED_IN_HAS_WALLET_HAS_AUTOFILL : |
3106 AutofillMetrics::DIALOG_USER_SIGNED_IN_HAS_WALLET_NO_AUTOFILL; | 3106 AutofillMetrics::DIALOG_USER_SIGNED_IN_HAS_WALLET_NO_AUTOFILL; |
3107 } | 3107 } |
3108 | 3108 |
3109 } // namespace autofill | 3109 } // namespace autofill |
OLD | NEW |