| Index: chrome/browser/content_exceptions_table_model.h
|
| diff --git a/chrome/browser/content_exceptions_table_model.h b/chrome/browser/content_exceptions_table_model.h
|
| index 9ade4d856830a77e5e96e1d6a68dda55d5daaafb..3f59d96172ffd5eed70eea8a5db6fb350572fcfb 100644
|
| --- a/chrome/browser/content_exceptions_table_model.h
|
| +++ b/chrome/browser/content_exceptions_table_model.h
|
| @@ -10,9 +10,12 @@
|
| #include "app/table_model.h"
|
| #include "chrome/common/content_settings.h"
|
| #include "chrome/common/content_settings_types.h"
|
| +#include "chrome/common/notification_registrar.h"
|
| +#include "chrome/common/notification_service.h"
|
| #include "chrome/browser/host_content_settings_map.h"
|
|
|
| -class ContentExceptionsTableModel : public TableModel {
|
| +class ContentExceptionsTableModel : public TableModel,
|
| + public NotificationObserver {
|
| public:
|
| ContentExceptionsTableModel(HostContentSettingsMap* map,
|
| ContentSettingsType content_type);
|
| @@ -42,11 +45,16 @@ class ContentExceptionsTableModel : public TableModel {
|
| virtual std::wstring GetText(int row, int column_id);
|
| virtual void SetObserver(TableModelObserver* observer);
|
|
|
| + // NotificationObserver overrides:
|
| + virtual void Observe(NotificationType type,
|
| + const NotificationSource& source,
|
| + const NotificationDetails& details);
|
| private:
|
| HostContentSettingsMap* map_;
|
| ContentSettingsType content_type_;
|
| HostContentSettingsMap::SettingsForOneType entries_;
|
| TableModelObserver* observer_;
|
| + NotificationRegistrar registrar_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(ContentExceptionsTableModel);
|
| };
|
|
|