summaryrefslogtreecommitdiffstats
path: root/chrome/browser/content_exceptions_table_model.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/content_exceptions_table_model.h')
-rw-r--r--chrome/browser/content_exceptions_table_model.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/content_exceptions_table_model.h b/chrome/browser/content_exceptions_table_model.h
index 469dac0..8e29591 100644
--- a/chrome/browser/content_exceptions_table_model.h
+++ b/chrome/browser/content_exceptions_table_model.h
@@ -4,10 +4,12 @@
#ifndef CHROME_BROWSER_CONTENT_EXCEPTIONS_TABLE_MODEL_H_
#define CHROME_BROWSER_CONTENT_EXCEPTIONS_TABLE_MODEL_H_
+#pragma once
#include <string>
#include "app/table_model.h"
+#include "base/ref_counted.h"
#include "chrome/common/content_settings.h"
#include "chrome/common/content_settings_types.h"
#include "chrome/browser/host_content_settings_map.h"
@@ -62,8 +64,8 @@ class ContentExceptionsTableModel : public TableModel {
return is_off_the_record ? off_the_record_entries_ : entries_;
}
- HostContentSettingsMap* map_;
- HostContentSettingsMap* off_the_record_map_;
+ scoped_refptr<HostContentSettingsMap> map_;
+ scoped_refptr<HostContentSettingsMap> off_the_record_map_;
ContentSettingsType content_type_;
HostContentSettingsMap::SettingsForOneType entries_;
HostContentSettingsMap::SettingsForOneType off_the_record_entries_;