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