OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_CONTACTS_CONTACT_MANAGER_OBSERVER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_CONTACTS_CONTACT_MANAGER_OBSERVER_H_ |
| 7 |
| 8 namespace contacts { |
| 9 |
| 10 class ContactManager; |
| 11 |
| 12 class ContactManagerObserver { |
| 13 public: |
| 14 ContactManagerObserver() {} |
| 15 virtual ~ContactManagerObserver() {} |
| 16 |
| 17 // Called when the ContactManager's contacts have been updated. |
| 18 virtual void OnContactsUpdated(ContactManager* manager) = 0; |
| 19 |
| 20 private: |
| 21 DISALLOW_COPY_AND_ASSIGN(ContactManagerObserver); |
| 22 }; |
| 23 |
| 24 } // namespace contacts |
| 25 |
| 26 #endif // CHROME_BROWSER_CHROMEOS_CONTACTS_CONTACT_MANAGER_OBSERVER_H_ |
OLD | NEW |