diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-29 18:03:38 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-29 18:03:38 +0000 |
commit | 437cf0eb7842e8db4a5702b4e18a5b865e58042a (patch) | |
tree | 1f11c2defdb083f80235ace1e5835c1ba78f7100 /chrome/browser/renderer_host/async_resource_handler.cc | |
parent | 6828a51a1dea514c9bb57826ff9f1c3879287b92 (diff) | |
download | chromium_src-437cf0eb7842e8db4a5702b4e18a5b865e58042a.zip chromium_src-437cf0eb7842e8db4a5702b4e18a5b865e58042a.tar.gz chromium_src-437cf0eb7842e8db4a5702b4e18a5b865e58042a.tar.bz2 |
Revert "Implement HostContentSettingsMap"
This reverts commit r37508, as it was crashing on the reliability bots.
Review URL: http://codereview.chromium.org/556076
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37519 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host/async_resource_handler.cc')
-rw-r--r-- | chrome/browser/renderer_host/async_resource_handler.cc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/chrome/browser/renderer_host/async_resource_handler.cc b/chrome/browser/renderer_host/async_resource_handler.cc index 8e69f65..7b5e8c2 100644 --- a/chrome/browser/renderer_host/async_resource_handler.cc +++ b/chrome/browser/renderer_host/async_resource_handler.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -104,7 +104,7 @@ bool AsyncResourceHandler::OnResponseStarted(int request_id, // level before the request actually commits. This way the renderer will be // able to set the zoom level precisely at the time the request commits, // avoiding the possibility of zooming the old content or of having to layout - // the new content twice. Also send the per host content settings. + // the new content twice. URLRequest* request = rdh_->GetURLRequest( GlobalRequestID(process_id_, request_id)); ResourceDispatcherHostRequestInfo* info = rdh_->InfoForRequest(request); @@ -115,10 +115,6 @@ bool AsyncResourceHandler::OnResponseStarted(int request_id, if (!host.empty() && context) { receiver_->Send(new ViewMsg_SetZoomLevelForLoadingHost(info->route_id(), host, context->host_zoom_map()->GetZoomLevel(host))); - receiver_->Send(new ViewMsg_SetContentSettingsForLoadingHost( - info->route_id(), host, ContentPermissions::ToInteger( - context->host_content_settings_map()->GetPerHostContentSettings( - host)))); } } |