1 // Copyright (c) 2012 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 CHROME_BROWSER_CHROMEOS_CONTACTS_CONTACT_MANAGER_OBSERVER_H_
6 #define CHROME_BROWSER_CHROMEOS_CONTACTS_CONTACT_MANAGER_OBSERVER_H_
14 // Interface for classes that need to observe changes to ContactManager.
15 class ContactManagerObserver
{
17 ContactManagerObserver() {}
18 virtual ~ContactManagerObserver() {}
20 // Called when |profile|'s contacts have been updated.
21 virtual void OnContactsUpdated(Profile
* profile
) = 0;
24 DISALLOW_COPY_AND_ASSIGN(ContactManagerObserver
);
27 } // namespace contacts
29 #endif // CHROME_BROWSER_CHROMEOS_CONTACTS_CONTACT_MANAGER_OBSERVER_H_