| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_AUTOFILL_PERSONAL_DATA_MANAGER_OBSERVER_H_ | |
| 6 #define CHROME_BROWSER_AUTOFILL_PERSONAL_DATA_MANAGER_OBSERVER_H_ | |
| 7 | |
| 8 // An interface the PersonalDataManager uses to notify its clients (observers) | |
| 9 // when it has finished loading personal data from the web database. Register | |
| 10 // observers via PersonalDataManager::AddObserver. | |
| 11 class PersonalDataManagerObserver { | |
| 12 public: | |
| 13 // Notifies the observer that the PersonalDataManager changed in some way. | |
| 14 virtual void OnPersonalDataChanged() = 0; | |
| 15 virtual void OnInsufficientFormData() {} | |
| 16 | |
| 17 protected: | |
| 18 virtual ~PersonalDataManagerObserver() {} | |
| 19 }; | |
| 20 | |
| 21 #endif // CHROME_BROWSER_AUTOFILL_PERSONAL_DATA_MANAGER_OBSERVER_H_ | |
| OLD | NEW |