blob: b8fea94803f57a3fdb6a84c9d2559af6a787cda5 [file] [log] [blame]
[email protected]a7e585a2011-08-08 20:32:541// 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
[email protected]e4b2fa32013-03-09 22:56:565#ifndef COMPONENTS_AUTOFILL_BROWSER_PERSONAL_DATA_MANAGER_OBSERVER_H_
6#define COMPONENTS_AUTOFILL_BROWSER_PERSONAL_DATA_MANAGER_OBSERVER_H_
[email protected]a7e585a2011-08-08 20:32:547
[email protected]e217c5632013-04-12 19:11:488namespace autofill {
9
[email protected]a7e585a2011-08-08 20:32:5410// An interface the PersonalDataManager uses to notify its clients (observers)
11// when it has finished loading personal data from the web database. Register
[email protected]412bde72013-02-07 06:06:2412// observers via PersonalDataManager::AddObserver.
[email protected]a7e585a2011-08-08 20:32:5413class PersonalDataManagerObserver {
14 public:
15 // Notifies the observer that the PersonalDataManager changed in some way.
16 virtual void OnPersonalDataChanged() = 0;
[email protected]48021c22011-08-24 16:56:4817 virtual void OnInsufficientFormData() {}
[email protected]a7e585a2011-08-08 20:32:5418
19 protected:
20 virtual ~PersonalDataManagerObserver() {}
21};
22
[email protected]e217c5632013-04-12 19:11:4823} // namespace autofill
24
[email protected]e4b2fa32013-03-09 22:56:5625#endif // COMPONENTS_AUTOFILL_BROWSER_PERSONAL_DATA_MANAGER_OBSERVER_H_