diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-08 09:18:29 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-08 09:18:29 +0000 |
commit | 0314ae017cc069f72240401b52f6e37403c581ca (patch) | |
tree | 55f61e3ca4f6670648038cae338f82cddc2625bb /chrome/browser/renderer_host | |
parent | 3184770afa9cbcf49680bab5046c57a7ca035388 (diff) | |
download | chromium_src-0314ae017cc069f72240401b52f6e37403c581ca.zip chromium_src-0314ae017cc069f72240401b52f6e37403c581ca.tar.gz chromium_src-0314ae017cc069f72240401b52f6e37403c581ca.tar.bz2 |
Implement patterns for content setting exceptions.
BUG=37394
TEST=unit_tests + manual
Review URL: http://codereview.chromium.org/1567010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43936 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host')
-rw-r--r-- | chrome/browser/renderer_host/render_view_host.cc | 4 | ||||
-rw-r--r-- | chrome/browser/renderer_host/render_view_host.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/renderer_host/render_view_host.cc b/chrome/browser/renderer_host/render_view_host.cc index 0dfd106..91ffc97 100644 --- a/chrome/browser/renderer_host/render_view_host.cc +++ b/chrome/browser/renderer_host/render_view_host.cc @@ -1801,9 +1801,9 @@ void RenderViewHost::RevertTranslation(int page_id) { Send(new ViewMsg_RevertTranslation(routing_id(), page_id)); } -void RenderViewHost::SendContentSettings(const std::string& host, +void RenderViewHost::SendContentSettings(const GURL& url, const ContentSettings& settings) { - Send(new ViewMsg_SetContentSettingsForCurrentHost(host, settings)); + Send(new ViewMsg_SetContentSettingsForCurrentURL(url, settings)); } void RenderViewHost::OnExtensionPostMessage( diff --git a/chrome/browser/renderer_host/render_view_host.h b/chrome/browser/renderer_host/render_view_host.h index 37b9c46..83fd216 100644 --- a/chrome/browser/renderer_host/render_view_host.h +++ b/chrome/browser/renderer_host/render_view_host.h @@ -455,7 +455,7 @@ class RenderViewHost : public RenderWidgetHost { void RevertTranslation(int page_id); // Informs renderer of updated content settings. - void SendContentSettings(const std::string& host, + void SendContentSettings(const GURL& url, const ContentSettings& settings); protected: |