Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(472)

Issue 1744003: Send content settings based on the URL to the renderer instead of just the host. (Closed)

Created:
10 years, 8 months ago by jochen (gone - plz use gerrit)
Modified:
9 years, 7 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, jam+cc_chromium.org, ben+cc_chromium.org, darin-cc_chromium.org, brettw-cc_chromium.org, cbentzel+watch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Send content settings based on the URL to the renderer instead of just the host. BUG=36025 TEST=manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=45424

Patch Set 1 #

Patch Set 2 : clarify patterns #

Total comments: 1

Patch Set 3 : change hostzoommap to use urls #

Total comments: 8

Patch Set 4 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -101 lines) Patch
M chrome/browser/host_content_settings_map.cc View 2 3 4 chunks +5 lines, -7 lines 0 comments Download
M chrome/browser/host_zoom_map.h View 2 chunks +9 lines, -6 lines 0 comments Download
M chrome/browser/host_zoom_map.cc View 3 2 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/host_zoom_map_unittest.cc View 3 chunks +29 lines, -16 lines 0 comments Download
M chrome/browser/renderer_host/async_resource_handler.cc View 1 2 1 chunk +5 lines, -6 lines 0 comments Download
M chrome/browser/renderer_host/resource_message_filter.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/renderer_host/resource_message_filter.cc View 2 chunks +7 lines, -7 lines 0 comments Download
M chrome/common/render_messages_internal.h View 1 2 3 2 chunks +17 lines, -17 lines 0 comments Download
M chrome/renderer/render_thread.h View 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/render_thread.cc View 3 4 chunks +10 lines, -9 lines 0 comments Download
M chrome/renderer/render_view.h View 1 2 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/renderer/render_view.cc View 1 2 3 4 chunks +15 lines, -18 lines 0 comments Download
M net/base/net_util.h View 3 2 chunks +4 lines, -1 line 0 comments Download
M net/base/net_util.cc View 3 3 chunks +6 lines, -1 line 0 comments Download
M net/base/net_util_unittest.cc View 3 2 chunks +10 lines, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
jochen (gone - plz use gerrit)
please review. When you use the content blocked bubble to allow e.g. images and the ...
10 years, 8 months ago (2010-04-21 09:10:30 UTC) #1
Peter Kasting
LGTM http://codereview.chromium.org/1744003/diff/2001/3002 File chrome/browser/renderer_host/async_resource_handler.cc (right): http://codereview.chromium.org/1744003/diff/2001/3002#newcode123 chrome/browser/renderer_host/async_resource_handler.cc:123: host, context->host_zoom_map()->GetZoomLevel(host))); Eventually we want Zoom to do ...
10 years, 8 months ago (2010-04-21 18:01:50 UTC) #2
jochen (gone - plz use gerrit)
On 2010/04/21 18:01:50, Peter Kasting wrote: > LGTM > > http://codereview.chromium.org/1744003/diff/2001/3002 > File chrome/browser/renderer_host/async_resource_handler.cc (right): ...
10 years, 8 months ago (2010-04-21 18:18:45 UTC) #3
Peter Kasting
On 2010/04/21 18:18:45, jochen wrote: > I started implementing this, however, the following issue arised: ...
10 years, 8 months ago (2010-04-21 18:33:33 UTC) #4
jochen (gone - plz use gerrit)
On 2010/04/21 18:18:45, jochen wrote: > On 2010/04/21 18:01:50, Peter Kasting wrote: > > LGTM ...
10 years, 8 months ago (2010-04-21 18:36:40 UTC) #5
jochen (gone - plz use gerrit)
now with hostzoommap support... please review
10 years, 8 months ago (2010-04-22 10:00:23 UTC) #6
Peter Kasting
LGTM, you rock! http://codereview.chromium.org/1744003/diff/11001/12013 File net/base/net_util.cc (right): http://codereview.chromium.org/1744003/diff/11001/12013#newcode1 net/base/net_util.cc:1: // Copyright (c) 2009 The Chromium ...
10 years, 8 months ago (2010-04-22 20:12:41 UTC) #7
jochen (gone - plz use gerrit)
10 years, 8 months ago (2010-04-23 08:51:38 UTC) #8
http://codereview.chromium.org/1744003/diff/11001/12013
File net/base/net_util.cc (right):

http://codereview.chromium.org/1744003/diff/11001/12013#newcode1
net/base/net_util.cc:1: // Copyright (c) 2009 The Chromium Authors. All rights
reserved.
On 2010/04/22 20:12:42, Peter Kasting wrote:
> Nit: 2010

Done.

http://codereview.chromium.org/1744003/diff/11001/12014
File net/base/net_util.h (right):

http://codereview.chromium.org/1744003/diff/11001/12014#newcode1
net/base/net_util.h:1: // Copyright (c) 2009 The Chromium Authors. All rights
reserved.
On 2010/04/22 20:12:42, Peter Kasting wrote:
> Nit: 2010

Done.

http://codereview.chromium.org/1744003/diff/11001/12014#newcode87
net/base/net_util.h:87: std::string GetHostFromURL(const GURL& url);
On 2010/04/22 20:12:42, Peter Kasting wrote:
> Nit: Maybe GetHostOrSpecFromURL() is more accurate?

Done.

http://codereview.chromium.org/1744003/diff/11001/12015
File net/base/net_util_unittest.cc (right):

http://codereview.chromium.org/1744003/diff/11001/12015#newcode1
net/base/net_util_unittest.cc:1: // Copyright (c) 2009 The Chromium Authors. All
rights reserved.
On 2010/04/22 20:12:42, Peter Kasting wrote:
> Nit: 2010

Done.

Powered by Google App Engine
This is Rietveld 408576698