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_BROWSER_WALLET_WALLET_CLIENT_OBSERVER_H_ | 5 #ifndef COMPONENTS_AUTOFILL_BROWSER_WALLET_WALLET_CLIENT_OBSERVER_H_ |
6 #define COMPONENTS_AUTOFILL_BROWSER_WALLET_WALLET_CLIENT_OBSERVER_H_ | 6 #define COMPONENTS_AUTOFILL_BROWSER_WALLET_WALLET_CLIENT_OBSERVER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "components/autofill/browser/autofill_manager_delegate.h" | |
12 #include "components/autofill/content/browser/wallet/form_field_error.h" | 11 #include "components/autofill/content/browser/wallet/form_field_error.h" |
13 #include "components/autofill/content/browser/wallet/wallet_client.h" | 12 #include "components/autofill/content/browser/wallet/wallet_client.h" |
| 13 #include "components/autofill/core/browser/autofill_manager_delegate.h" |
14 | 14 |
15 class AutofillMetrics; | 15 class AutofillMetrics; |
16 | 16 |
17 namespace autofill { | 17 namespace autofill { |
18 namespace wallet { | 18 namespace wallet { |
19 | 19 |
20 class FullWallet; | 20 class FullWallet; |
21 class WalletItems; | 21 class WalletItems; |
22 | 22 |
23 // WalletClientDelegate is to be implemented any classes making calls with | 23 // WalletClientDelegate is to be implemented any classes making calls with |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 virtual void OnWalletError(WalletClient::ErrorType error_type) = 0; | 110 virtual void OnWalletError(WalletClient::ErrorType error_type) = 0; |
111 | 111 |
112 protected: | 112 protected: |
113 virtual ~WalletClientDelegate() {} | 113 virtual ~WalletClientDelegate() {} |
114 }; | 114 }; |
115 | 115 |
116 } // namespace wallet | 116 } // namespace wallet |
117 } // namespace autofill | 117 } // namespace autofill |
118 | 118 |
119 #endif // COMPONENTS_AUTOFILL_BROWSER_WALLET_WALLET_CLIENT_OBSERVER_H_ | 119 #endif // COMPONENTS_AUTOFILL_BROWSER_WALLET_WALLET_CLIENT_OBSERVER_H_ |
OLD | NEW |