| Index: chrome/browser/chromeos/contacts/contact_source_observer.h
|
| diff --git a/chrome/browser/chromeos/contacts/contact_source_observer.h b/chrome/browser/chromeos/contacts/contact_source_observer.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..57b78f564ed687d7481f5700c708fc9897520e03
|
| --- /dev/null
|
| +++ b/chrome/browser/chromeos/contacts/contact_source_observer.h
|
| @@ -0,0 +1,29 @@
|
| +// 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_SOURCE_OBSERVER_H_
|
| +#define CHROME_BROWSER_CHROMEOS_CONTACTS_CONTACT_SOURCE_OBSERVER_H_
|
| +
|
| +#include "base/basictypes.h"
|
| +
|
| +namespace contacts {
|
| +
|
| +class ContactSource;
|
| +
|
| +// Interface for observing changes to a ContactSource.
|
| +class ContactSourceObserver {
|
| + public:
|
| + ContactSourceObserver() {}
|
| + virtual ~ContactSourceObserver() {}
|
| +
|
| + // Called when the contacts stored within a ContactSource are updated.
|
| + virtual void OnContactsUpdated(ContactSource* source) = 0;
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(ContactSourceObserver);
|
| +};
|
| +
|
| +} // namespace contacts
|
| +
|
| +#endif // CHROME_BROWSER_CHROMEOS_CONTACTS_CONTACT_SOURCE_OBSERVER_H_
|
|
|