summaryrefslogtreecommitdiffstats
path: root/chrome/browser/plugin_exceptions_table_model.h
diff options
context:
space:
mode:
authorbauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-04 19:12:22 +0000
committerbauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-04 19:12:22 +0000
commitb4a27e0f8b300ce64eb2ebce99338f67aa36d58f (patch)
tree1e2a114e8d9f1a228b7f94b71180b3c54264b56b /chrome/browser/plugin_exceptions_table_model.h
parent6adf6ea9625179e001c3fc1b1586f763054b15e1 (diff)
downloadchromium_src-b4a27e0f8b300ce64eb2ebce99338f67aa36d58f.zip
chromium_src-b4a27e0f8b300ce64eb2ebce99338f67aa36d58f.tar.gz
chromium_src-b4a27e0f8b300ce64eb2ebce99338f67aa36d58f.tar.bz2
Readability review for bauerb.
PluginDataRemover opens a connection to the Flash plugin process, tells it to call the NPP_ClearSiteData function and waits for it to finish. This is used in Chrome to clear Flash LSO data from the Clear Browsing Data dialog and at shutdown. BUG=none TEST=none Review URL: http://codereview.chromium.org/6665034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80351 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/plugin_exceptions_table_model.h')
-rw-r--r--chrome/browser/plugin_exceptions_table_model.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/chrome/browser/plugin_exceptions_table_model.h b/chrome/browser/plugin_exceptions_table_model.h
index 8614258..55fc646 100644
--- a/chrome/browser/plugin_exceptions_table_model.h
+++ b/chrome/browser/plugin_exceptions_table_model.h
@@ -6,7 +6,6 @@
#define CHROME_BROWSER_PLUGIN_EXCEPTIONS_TABLE_MODEL_H_
#pragma once
-#include <deque>
#include <string>
#include <vector>
@@ -68,13 +67,16 @@ class PluginExceptionsTableModel : public RemoveRowsTableModel,
scoped_refptr<HostContentSettingsMap> map_;
scoped_refptr<HostContentSettingsMap> otr_map_;
- std::deque<SettingsEntry> settings_;
- std::deque<int> row_counts_;
- std::deque<std::string> resources_;
+ std::vector<SettingsEntry> settings_;
+ std::vector<int> row_counts_;
+ std::vector<std::string> resources_;
TableModel::Groups groups_;
NotificationRegistrar registrar_;
bool updates_disabled_;
+
+ // Weak, can be NULL. Our owner should manage its lifetime, see
+ // TableModel::SetObserver().
ui::TableModelObserver* observer_;
DISALLOW_COPY_AND_ASSIGN(PluginExceptionsTableModel);