| 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_request_manager.h" | 5 #include "components/autofill/content/browser/autocheckout_request_manager.h" |
| 6 | 6 |
| 7 #include "components/autofill/core/browser/autofill_manager_delegate.h" | 7 #include "components/autofill/core/browser/autofill_manager_delegate.h" |
| 8 #include "content/public/browser/browser_context.h" | 8 #include "content/public/browser/browser_context.h" |
| 9 | 9 |
| 10 namespace { | 10 namespace { |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 void AutocheckoutRequestManager::OnDidGetFullWallet( | 76 void AutocheckoutRequestManager::OnDidGetFullWallet( |
| 77 scoped_ptr<wallet::FullWallet> full_wallet) { | 77 scoped_ptr<wallet::FullWallet> full_wallet) { |
| 78 NOTREACHED(); | 78 NOTREACHED(); |
| 79 } | 79 } |
| 80 | 80 |
| 81 void AutocheckoutRequestManager::OnDidGetWalletItems( | 81 void AutocheckoutRequestManager::OnDidGetWalletItems( |
| 82 scoped_ptr<wallet::WalletItems> wallet_items) { | 82 scoped_ptr<wallet::WalletItems> wallet_items) { |
| 83 NOTREACHED(); | 83 NOTREACHED(); |
| 84 } | 84 } |
| 85 | 85 |
| 86 void AutocheckoutRequestManager::OnDidSaveAddress( | |
| 87 const std::string& address_id, | |
| 88 const std::vector<wallet::RequiredAction>& required_actions, | |
| 89 const std::vector<wallet::FormFieldError>& form_field_errors) { | |
| 90 NOTREACHED(); | |
| 91 } | |
| 92 | 86 |
| 93 void AutocheckoutRequestManager::OnDidSaveInstrument( | 87 void AutocheckoutRequestManager::OnDidSaveToWallet( |
| 94 const std::string& instrument_id, | |
| 95 const std::vector<wallet::RequiredAction>& required_actions, | |
| 96 const std::vector<wallet::FormFieldError>& form_field_errors) { | |
| 97 NOTREACHED(); | |
| 98 } | |
| 99 | |
| 100 void AutocheckoutRequestManager::OnDidSaveInstrumentAndAddress( | |
| 101 const std::string& instrument_id, | 88 const std::string& instrument_id, |
| 102 const std::string& address_id, | 89 const std::string& address_id, |
| 103 const std::vector<wallet::RequiredAction>& required_actions, | 90 const std::vector<wallet::RequiredAction>& required_actions, |
| 104 const std::vector<wallet::FormFieldError>& form_field_errors) { | 91 const std::vector<wallet::FormFieldError>& form_field_errors) { |
| 105 NOTREACHED(); | 92 NOTREACHED(); |
| 106 } | 93 } |
| 107 | 94 |
| 108 void AutocheckoutRequestManager::OnDidUpdateAddress( | |
| 109 const std::string& address_id, | |
| 110 const std::vector<wallet::RequiredAction>& required_actions, | |
| 111 const std::vector<wallet::FormFieldError>& form_field_errors) { | |
| 112 NOTREACHED(); | |
| 113 } | |
| 114 | |
| 115 void AutocheckoutRequestManager::OnDidUpdateInstrument( | |
| 116 const std::string& instrument_id, | |
| 117 const std::vector<wallet::RequiredAction>& required_actions, | |
| 118 const std::vector<wallet::FormFieldError>& form_field_errors) { | |
| 119 NOTREACHED(); | |
| 120 } | |
| 121 | |
| 122 void AutocheckoutRequestManager::OnWalletError( | 95 void AutocheckoutRequestManager::OnWalletError( |
| 123 wallet::WalletClient::ErrorType error_type) { | 96 wallet::WalletClient::ErrorType error_type) { |
| 124 // Nothing to be done. |error_type| is logged by |metric_logger_|. | 97 // Nothing to be done. |error_type| is logged by |metric_logger_|. |
| 125 } | 98 } |
| 126 | 99 |
| 127 AutocheckoutRequestManager::AutocheckoutRequestManager( | 100 AutocheckoutRequestManager::AutocheckoutRequestManager( |
| 128 net::URLRequestContextGetter* request_context_getter) | 101 net::URLRequestContextGetter* request_context_getter) |
| 129 : wallet_client_(request_context_getter, this) { | 102 : wallet_client_(request_context_getter, this) { |
| 130 } | 103 } |
| 131 | 104 |
| 132 } // namespace autofill | 105 } // namespace autofill |
| OLD | NEW |