summaryrefslogtreecommitdiffstats
path: root/chrome_frame/policy_settings.h
diff options
context:
space:
mode:
authortommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-04 23:07:40 +0000
committertommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-04 23:07:40 +0000
commit5ac670a3a8c4e3e2f2b7ed3ad1190f9ed34dd512 (patch)
treecff9275bd93bc02c09e2d9836a82b086745a9852 /chrome_frame/policy_settings.h
parent10da830b7fe028f85cf2167fadb64852cfe526ee (diff)
downloadchromium_src-5ac670a3a8c4e3e2f2b7ed3ad1190f9ed34dd512.zip
chromium_src-5ac670a3a8c4e3e2f2b7ed3ad1190f9ed34dd512.tar.gz
chromium_src-5ac670a3a8c4e3e2f2b7ed3ad1190f9ed34dd512.tar.bz2
Policy support for being able to specify a list of content types that Chrome Frame should handle.
TEST=This adds a new policy list for Chrome Frame, "ChromeFrameContentTypes", which can be used to specify a list of content types that should always be rendered in Chrome Frame. BUG=56543 Review URL: http://codereview.chromium.org/3611002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61432 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/policy_settings.h')
-rw-r--r--chrome_frame/policy_settings.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome_frame/policy_settings.h b/chrome_frame/policy_settings.h
index a4c1267..f3eacac 100644
--- a/chrome_frame/policy_settings.h
+++ b/chrome_frame/policy_settings.h
@@ -32,6 +32,8 @@ class PolicySettings {
RendererForUrl GetRendererForUrl(const wchar_t* url);
+ RendererForUrl GetRendererForContentType(const wchar_t* content_type);
+
protected:
// Protected for now since the class is not thread safe.
void RefreshFromRegistry();
@@ -39,6 +41,7 @@ class PolicySettings {
protected:
RendererForUrl default_renderer_;
std::vector<std::wstring> renderer_exclusion_list_;
+ std::vector<std::wstring> content_type_list_;
};