summaryrefslogtreecommitdiffstats
path: root/chrome/common/plugin_group.h
diff options
context:
space:
mode:
authordanno@chromium.org <danno@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-10 13:55:18 +0000
committerdanno@chromium.org <danno@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-10 13:55:18 +0000
commit492d214950b16d229ced62021486e9e0ec859e40 (patch)
treeac098e0dc234b894433b13d409ddb198cd9d24b1 /chrome/common/plugin_group.h
parent0ef5163fe4f9a76f516f09f7aa9d19c322e79691 (diff)
downloadchromium_src-492d214950b16d229ced62021486e9e0ec859e40.zip
chromium_src-492d214950b16d229ced62021486e9e0ec859e40.tar.gz
chromium_src-492d214950b16d229ced62021486e9e0ec859e40.tar.bz2
Policy: plugins disabled by policy should honor policy changes without Chrome relaunch.
BUG=54620 TEST=PrefChangeRegistrarTest.* Review URL: http://codereview.chromium.org/3316007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59094 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/plugin_group.h')
-rw-r--r--chrome/common/plugin_group.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/common/plugin_group.h b/chrome/common/plugin_group.h
index 22acb88..a7ba852 100644
--- a/chrome/common/plugin_group.h
+++ b/chrome/common/plugin_group.h
@@ -90,6 +90,9 @@ class PluginGroup {
// group.
void Enable(bool enable);
+ // Returns whether the plugin group is enabled or not.
+ bool Enabled() const { return enabled_; }
+
// Returns this group's name
const string16& GetGroupName() const { return group_name_; }