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 CHROME_BROWSER_AUTOFILL_WALLET_ENCRYPTION_ESCROW_CLIENT_OBSERVER_H_ | 5 #ifndef COMPONENTS_AUTOFILL_BROWSER_WALLET_ENCRYPTION_ESCROW_CLIENT_OBSERVER_H_ |
6 #define CHROME_BROWSER_AUTOFILL_WALLET_ENCRYPTION_ESCROW_CLIENT_OBSERVER_H_ | 6 #define COMPONENTS_AUTOFILL_BROWSER_WALLET_ENCRYPTION_ESCROW_CLIENT_OBSERVER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 namespace autofill { | 10 namespace autofill { |
11 namespace wallet { | 11 namespace wallet { |
12 | 12 |
13 // EncryptionEscrowClientObserver is to be implemented by any classes making | 13 // EncryptionEscrowClientObserver is to be implemented by any classes making |
14 // calls with EncryptionEscrowClient. The appropriate callback method will be | 14 // calls with EncryptionEscrowClient. The appropriate callback method will be |
15 // called on EncryptionEscrowClientObserver with the response from the Online | 15 // called on EncryptionEscrowClientObserver with the response from the Online |
16 // Wallet encryption and escrow backend. | 16 // Wallet encryption and escrow backend. |
(...skipping 23 matching lines...) Expand all Loading... |
40 // Called when a request fails due to a malformed response. | 40 // Called when a request fails due to a malformed response. |
41 virtual void OnMalformedResponse() = 0; | 41 virtual void OnMalformedResponse() = 0; |
42 | 42 |
43 protected: | 43 protected: |
44 virtual ~EncryptionEscrowClientObserver() {} | 44 virtual ~EncryptionEscrowClientObserver() {} |
45 }; | 45 }; |
46 | 46 |
47 } // namespace wallet | 47 } // namespace wallet |
48 } // namespace autofill | 48 } // namespace autofill |
49 | 49 |
50 #endif // CHROME_BROWSER_AUTOFILL_WALLET_ENCRYPTION_ESCROW_CLIENT_OBSERVER_H_ | 50 #endif // COMPONENTS_AUTOFILL_BROWSER_WALLET_ENCRYPTION_ESCROW_CLIENT_OBSERVER_
H_ |
OLD | NEW |