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