Include all dupe types (event when value is zero) in scan stats.
[chromium-blink-merge.git] / components / autofill / core / browser / personal_data_manager_observer.h
blobd4a24cabb1c99f297380e5a0713351d69f9e7697
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_
8 namespace autofill {
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 {
14 public:
15 // Notifies the observer that the PersonalDataManager changed in some way.
16 virtual void OnPersonalDataChanged() = 0;
17 virtual void OnInsufficientFormData() {}
19 protected:
20 virtual ~PersonalDataManagerObserver() {}
23 } // namespace autofill
25 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_PERSONAL_DATA_MANAGER_OBSERVER_H_