| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_PASSWORD_MANAGER_PASSWORD_STORE_CONSUMER_H_ | 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_CONSUMER_H_ |
| 6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_CONSUMER_H_ | 6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_CONSUMER_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/cancelable_request.h" | 8 #include "chrome/browser/common/cancelable_request.h" |
| 9 | 9 |
| 10 namespace webkit { | 10 namespace webkit { |
| 11 namespace forms { | 11 namespace forms { |
| 12 struct PasswordForm; | 12 struct PasswordForm; |
| 13 } | 13 } |
| 14 } | 14 } |
| 15 | 15 |
| 16 // Reads from the PasswordStore are done asynchronously on a separate | 16 // Reads from the PasswordStore are done asynchronously on a separate |
| 17 // thread. PasswordStoreConsumer provides the virtual callback method, which is | 17 // thread. PasswordStoreConsumer provides the virtual callback method, which is |
| 18 // guaranteed to be executed on this (the UI) thread. It also provides the | 18 // guaranteed to be executed on this (the UI) thread. It also provides the |
| (...skipping 18 matching lines...) Expand all Loading... |
| 37 } | 37 } |
| 38 | 38 |
| 39 protected: | 39 protected: |
| 40 virtual ~PasswordStoreConsumer(); | 40 virtual ~PasswordStoreConsumer(); |
| 41 | 41 |
| 42 private: | 42 private: |
| 43 CancelableRequestConsumer cancelable_consumer_; | 43 CancelableRequestConsumer cancelable_consumer_; |
| 44 }; | 44 }; |
| 45 | 45 |
| 46 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_CONSUMER_H_ | 46 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_CONSUMER_H_ |
| OLD | NEW |