diff options
author | abarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-17 10:39:09 +0000 |
---|---|---|
committer | abarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-17 10:39:09 +0000 |
commit | 6326d8b152d2fb48416720faaa9e9684a64b83ac (patch) | |
tree | 86970b51280be685bd94669b883ccb3f9276b516 /chrome/renderer/chrome_render_process_observer.h | |
parent | 53fa16073b7f17ca0c46432b1ec7dad30bcb3b6e (diff) | |
download | chromium_src-6326d8b152d2fb48416720faaa9e9684a64b83ac.zip chromium_src-6326d8b152d2fb48416720faaa9e9684a64b83ac.tar.gz chromium_src-6326d8b152d2fb48416720faaa9e9684a64b83ac.tar.bz2 |
Correctly apply content settings to data URLs.
Data URLs don't round-trip through the browser's network stack, so they don't
trigger the content settings code to upload the proper settings to the
renderer. This patch proactively pushes the default content settings into the
renderer so that it can use them for data URLs (and other sandboxed frames).
Review URL: http://codereview.chromium.org/7167003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89466 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/chrome_render_process_observer.h')
-rw-r--r-- | chrome/renderer/chrome_render_process_observer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/renderer/chrome_render_process_observer.h b/chrome/renderer/chrome_render_process_observer.h index f447c82..beb2b26 100644 --- a/chrome/renderer/chrome_render_process_observer.h +++ b/chrome/renderer/chrome_render_process_observer.h @@ -35,6 +35,7 @@ class ChromeRenderProcessObserver : public RenderProcessObserver { void OnSetIsIncognitoProcess(bool is_incognito_process); void OnSetContentSettingsForCurrentURL( const GURL& url, const ContentSettings& content_settings); + void OnSetDefaultContentSettings(const ContentSettings& content_settings); void OnSetCacheCapacities(size_t min_dead_capacity, size_t max_dead_capacity, size_t capacity); |