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