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