| 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 #ifndef COMPONENTS_AUTOFILL_CONTENT_BROWSER_AUTOCHECKOUT_REQUEST_MANAGER_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CONTENT_BROWSER_AUTOCHECKOUT_REQUEST_MANAGER_H_ |
| 6 #define COMPONENTS_AUTOFILL_CONTENT_BROWSER_AUTOCHECKOUT_REQUEST_MANAGER_H_ | 6 #define COMPONENTS_AUTOFILL_CONTENT_BROWSER_AUTOCHECKOUT_REQUEST_MANAGER_H_ |
| 7 | 7 |
| 8 #include "base/supports_user_data.h" | 8 #include "base/supports_user_data.h" |
| 9 #include "components/autofill/content/browser/autocheckout_statistic.h" | 9 #include "components/autofill/content/browser/autocheckout_statistic.h" |
| 10 #include "components/autofill/content/browser/wallet/wallet_client.h" | 10 #include "components/autofill/content/browser/wallet/wallet_client.h" |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 AutocheckoutStatus status, | 48 AutocheckoutStatus status, |
| 49 const GURL& source_url, | 49 const GURL& source_url, |
| 50 const std::vector<AutocheckoutStatistic>& latency_statistics, | 50 const std::vector<AutocheckoutStatistic>& latency_statistics, |
| 51 const std::string& google_transaction_id); | 51 const std::string& google_transaction_id); |
| 52 | 52 |
| 53 // wallet::WalletClientDelegate: | 53 // wallet::WalletClientDelegate: |
| 54 virtual const AutofillMetrics& GetMetricLogger() const OVERRIDE; | 54 virtual const AutofillMetrics& GetMetricLogger() const OVERRIDE; |
| 55 virtual DialogType GetDialogType() const OVERRIDE; | 55 virtual DialogType GetDialogType() const OVERRIDE; |
| 56 virtual std::string GetRiskData() const OVERRIDE; | 56 virtual std::string GetRiskData() const OVERRIDE; |
| 57 virtual std::string GetWalletCookieValue() const OVERRIDE; | 57 virtual std::string GetWalletCookieValue() const OVERRIDE; |
| 58 virtual bool IsShippingAddressRequired() const OVERRIDE; |
| 58 virtual void OnDidAcceptLegalDocuments() OVERRIDE; | 59 virtual void OnDidAcceptLegalDocuments() OVERRIDE; |
| 59 virtual void OnDidAuthenticateInstrument(bool success) OVERRIDE; | 60 virtual void OnDidAuthenticateInstrument(bool success) OVERRIDE; |
| 60 virtual void OnDidGetFullWallet( | 61 virtual void OnDidGetFullWallet( |
| 61 scoped_ptr<wallet::FullWallet> full_wallet) OVERRIDE; | 62 scoped_ptr<wallet::FullWallet> full_wallet) OVERRIDE; |
| 62 virtual void OnDidGetWalletItems( | 63 virtual void OnDidGetWalletItems( |
| 63 scoped_ptr<wallet::WalletItems> wallet_items) OVERRIDE; | 64 scoped_ptr<wallet::WalletItems> wallet_items) OVERRIDE; |
| 64 virtual void OnDidSaveToWallet( | 65 virtual void OnDidSaveToWallet( |
| 65 const std::string& instrument_id, | 66 const std::string& instrument_id, |
| 66 const std::string& address_id, | 67 const std::string& address_id, |
| 67 const std::vector<wallet::RequiredAction>& required_actions, | 68 const std::vector<wallet::RequiredAction>& required_actions, |
| (...skipping 12 matching lines...) Expand all Loading... |
| 80 // Makes requests to Online Wallet. The only request this class is configured | 81 // Makes requests to Online Wallet. The only request this class is configured |
| 81 // to make is SendAutocheckoutStatus. | 82 // to make is SendAutocheckoutStatus. |
| 82 wallet::WalletClient wallet_client_; | 83 wallet::WalletClient wallet_client_; |
| 83 | 84 |
| 84 DISALLOW_COPY_AND_ASSIGN(AutocheckoutRequestManager); | 85 DISALLOW_COPY_AND_ASSIGN(AutocheckoutRequestManager); |
| 85 }; | 86 }; |
| 86 | 87 |
| 87 } // namespace autofill | 88 } // namespace autofill |
| 88 | 89 |
| 89 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_AUTOCHECKOUT_REQUEST_MANAGER_H_ | 90 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_AUTOCHECKOUT_REQUEST_MANAGER_H_ |
| OLD | NEW |