Index: chrome/browser/chromeos/contacts/contact_manager_observer.h |
diff --git a/chrome/browser/chromeos/contacts/contact_manager_observer.h b/chrome/browser/chromeos/contacts/contact_manager_observer.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7716286204ee6ba866d4f2d1d5337bed7b3c0887 |
--- /dev/null |
+++ b/chrome/browser/chromeos/contacts/contact_manager_observer.h |
@@ -0,0 +1,26 @@ |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_BROWSER_CHROMEOS_CONTACTS_CONTACT_MANAGER_OBSERVER_H_ |
+#define CHROME_BROWSER_CHROMEOS_CONTACTS_CONTACT_MANAGER_OBSERVER_H_ |
+ |
+namespace contacts { |
+ |
+class ContactManager; |
+ |
+class ContactManagerObserver { |
+ public: |
+ ContactManagerObserver() {} |
+ virtual ~ContactManagerObserver() {} |
+ |
+ // Called when the ContactManager's contacts have been updated. |
+ virtual void OnContactsUpdated(ContactManager* manager) = 0; |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(ContactManagerObserver); |
+}; |
+ |
+} // namespace contacts |
+ |
+#endif // CHROME_BROWSER_CHROMEOS_CONTACTS_CONTACT_MANAGER_OBSERVER_H_ |