| 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 25 matching lines...) Expand all Loading... |
| 36 #include "chrome/browser/ui/autofill/new_credit_card_bubble_controller.h" | 36 #include "chrome/browser/ui/autofill/new_credit_card_bubble_controller.h" |
| 37 #include "chrome/browser/ui/browser.h" | 37 #include "chrome/browser/ui/browser.h" |
| 38 #include "chrome/browser/ui/browser_finder.h" | 38 #include "chrome/browser/ui/browser_finder.h" |
| 39 #include "chrome/browser/ui/browser_navigator.h" | 39 #include "chrome/browser/ui/browser_navigator.h" |
| 40 #include "chrome/browser/ui/browser_window.h" | 40 #include "chrome/browser/ui/browser_window.h" |
| 41 #include "chrome/common/chrome_content_client.h" | 41 #include "chrome/common/chrome_content_client.h" |
| 42 #include "chrome/common/chrome_version_info.h" | 42 #include "chrome/common/chrome_version_info.h" |
| 43 #include "chrome/common/pref_names.h" | 43 #include "chrome/common/pref_names.h" |
| 44 #include "chrome/common/render_messages.h" | 44 #include "chrome/common/render_messages.h" |
| 45 #include "chrome/common/url_constants.h" | 45 #include "chrome/common/url_constants.h" |
| 46 #include "chrome/grit/chromium_strings.h" |
| 47 #include "chrome/grit/generated_resources.h" |
| 46 #include "components/autofill/content/browser/risk/fingerprint.h" | 48 #include "components/autofill/content/browser/risk/fingerprint.h" |
| 47 #include "components/autofill/content/browser/risk/proto/fingerprint.pb.h" | 49 #include "components/autofill/content/browser/risk/proto/fingerprint.pb.h" |
| 48 #include "components/autofill/content/browser/wallet/form_field_error.h" | 50 #include "components/autofill/content/browser/wallet/form_field_error.h" |
| 49 #include "components/autofill/content/browser/wallet/full_wallet.h" | 51 #include "components/autofill/content/browser/wallet/full_wallet.h" |
| 50 #include "components/autofill/content/browser/wallet/gaia_account.h" | 52 #include "components/autofill/content/browser/wallet/gaia_account.h" |
| 51 #include "components/autofill/content/browser/wallet/instrument.h" | 53 #include "components/autofill/content/browser/wallet/instrument.h" |
| 52 #include "components/autofill/content/browser/wallet/wallet_address.h" | 54 #include "components/autofill/content/browser/wallet/wallet_address.h" |
| 53 #include "components/autofill/content/browser/wallet/wallet_items.h" | 55 #include "components/autofill/content/browser/wallet/wallet_items.h" |
| 54 #include "components/autofill/content/browser/wallet/wallet_service_url.h" | 56 #include "components/autofill/content/browser/wallet/wallet_service_url.h" |
| 55 #include "components/autofill/content/browser/wallet/wallet_signin_helper.h" | 57 #include "components/autofill/content/browser/wallet/wallet_signin_helper.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 69 #include "content/public/browser/geolocation_provider.h" | 71 #include "content/public/browser/geolocation_provider.h" |
| 70 #include "content/public/browser/navigation_controller.h" | 72 #include "content/public/browser/navigation_controller.h" |
| 71 #include "content/public/browser/navigation_details.h" | 73 #include "content/public/browser/navigation_details.h" |
| 72 #include "content/public/browser/navigation_entry.h" | 74 #include "content/public/browser/navigation_entry.h" |
| 73 #include "content/public/browser/notification_service.h" | 75 #include "content/public/browser/notification_service.h" |
| 74 #include "content/public/browser/notification_types.h" | 76 #include "content/public/browser/notification_types.h" |
| 75 #include "content/public/browser/render_view_host.h" | 77 #include "content/public/browser/render_view_host.h" |
| 76 #include "content/public/browser/web_contents.h" | 78 #include "content/public/browser/web_contents.h" |
| 77 #include "content/public/common/url_constants.h" | 79 #include "content/public/common/url_constants.h" |
| 78 #include "extensions/browser/app_window/native_app_window.h" | 80 #include "extensions/browser/app_window/native_app_window.h" |
| 79 #include "grit/chromium_strings.h" | |
| 80 #include "grit/component_scaled_resources.h" | 81 #include "grit/component_scaled_resources.h" |
| 81 #include "grit/components_strings.h" | 82 #include "grit/components_strings.h" |
| 82 #include "grit/generated_resources.h" | |
| 83 #include "grit/platform_locale_settings.h" | 83 #include "grit/platform_locale_settings.h" |
| 84 #include "grit/theme_resources.h" | 84 #include "grit/theme_resources.h" |
| 85 #include "net/cert/cert_status_flags.h" | 85 #include "net/cert/cert_status_flags.h" |
| 86 #include "third_party/libaddressinput/chromium/chrome_metadata_source.h" | 86 #include "third_party/libaddressinput/chromium/chrome_metadata_source.h" |
| 87 #include "third_party/libaddressinput/chromium/chrome_storage_impl.h" | 87 #include "third_party/libaddressinput/chromium/chrome_storage_impl.h" |
| 88 #include "third_party/libaddressinput/messages.h" | 88 #include "third_party/libaddressinput/messages.h" |
| 89 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/address_da
ta.h" | 89 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/address_da
ta.h" |
| 90 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/address_fi
eld.h" | 90 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/address_fi
eld.h" |
| 91 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/address_pr
oblem.h" | 91 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/address_pr
oblem.h" |
| 92 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/localizati
on.h" | 92 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/localizati
on.h" |
| (...skipping 4064 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4157 view_->UpdateButtonStrip(); | 4157 view_->UpdateButtonStrip(); |
| 4158 } | 4158 } |
| 4159 | 4159 |
| 4160 void AutofillDialogControllerImpl::FetchWalletCookie() { | 4160 void AutofillDialogControllerImpl::FetchWalletCookie() { |
| 4161 net::URLRequestContextGetter* request_context = profile_->GetRequestContext(); | 4161 net::URLRequestContextGetter* request_context = profile_->GetRequestContext(); |
| 4162 signin_helper_.reset(new wallet::WalletSigninHelper(this, request_context)); | 4162 signin_helper_.reset(new wallet::WalletSigninHelper(this, request_context)); |
| 4163 signin_helper_->StartWalletCookieValueFetch(); | 4163 signin_helper_->StartWalletCookieValueFetch(); |
| 4164 } | 4164 } |
| 4165 | 4165 |
| 4166 } // namespace autofill | 4166 } // namespace autofill |
| OLD | NEW |