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_STORE_OBSERVER_H_
6 #define CHROME_BROWSER_CHROMEOS_CONTACTS_CONTACT_STORE_OBSERVER_H_
8 #include "base/basictypes.h"
14 // Interface for observing changes to a ContactStore.
15 class ContactStoreObserver
{
17 ContactStoreObserver() {}
18 virtual ~ContactStoreObserver() {}
20 // Called when the contacts stored within a ContactStore are updated.
21 virtual void OnContactsUpdated(ContactStore
* store
) = 0;
24 DISALLOW_COPY_AND_ASSIGN(ContactStoreObserver
);
27 } // namespace contacts
29 #endif // CHROME_BROWSER_CHROMEOS_CONTACTS_CONTACT_STORE_OBSERVER_H_