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/content/browser/wallet/form_field_error.h" | 11 #include "components/autofill/content/browser/wallet/form_field_error.h" |
12 #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" | 13 #include "components/autofill/core/browser/autofill_client.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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 virtual void OnWalletError(WalletClient::ErrorType error_type) = 0; | 76 virtual void OnWalletError(WalletClient::ErrorType error_type) = 0; |
77 | 77 |
78 protected: | 78 protected: |
79 virtual ~WalletClientDelegate() {} | 79 virtual ~WalletClientDelegate() {} |
80 }; | 80 }; |
81 | 81 |
82 } // namespace wallet | 82 } // namespace wallet |
83 } // namespace autofill | 83 } // namespace autofill |
84 | 84 |
85 #endif // COMPONENTS_AUTOFILL_BROWSER_WALLET_WALLET_CLIENT_OBSERVER_H_ | 85 #endif // COMPONENTS_AUTOFILL_BROWSER_WALLET_WALLET_CLIENT_OBSERVER_H_ |
OLD | NEW |