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_STORE_OBSERVER_H_ | |
6 #define CHROME_BROWSER_CHROMEOS_CONTACTS_CONTACT_STORE_OBSERVER_H_ | |
7 | |
8 #include "base/basictypes.h" | |
9 | |
10 namespace contacts { | |
11 | |
12 class ContactStore; | |
13 | |
14 // Interface for observing changes to a ContactStore. | |
15 class ContactStoreObserver { | |
16 public: | |
17 ContactStoreObserver() {} | |
18 virtual ~ContactStoreObserver() {} | |
19 | |
20 // Called when the contacts stored within a ContactStore are updated. | |
21 virtual void OnContactsUpdated(ContactStore* store) = 0; | |
22 | |
23 private: | |
24 DISALLOW_COPY_AND_ASSIGN(ContactStoreObserver); | |
25 }; | |
26 | |
27 } // namespace contacts | |
28 | |
29 #endif // CHROME_BROWSER_CHROMEOS_CONTACTS_CONTACT_STORE_OBSERVER_H_ | |
OLD | NEW |