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

Issue 2370001: Store blocked cookies in the tab contents. (Closed)

Created:
10 years, 7 months ago by jochen (gone - plz use gerrit)
Modified:
9 years, 7 months ago
CC:
chromium-reviews, jam+cc_chromium.org, cbentzel+watch_chromium.org, dpranke+watch_chromium.org, ben+cc_chromium.org, Paweł Hajdan Jr., darin-cc_chromium.org, brettw-cc_chromium.org, pam+watch_chromium.org, michaeln, amit, John Grabowski
Visibility:
Public.

Description

Store blocked and accessed cookies in the tab contents. This will enable chrome to display all cookies used/blocked on the current site to the user instead of just the information that something was blocked. The cookies are collected in data structures suitable for displaying them using the cookies tree model. BUG=45230 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=51545

Patch Set 1 #

Total comments: 8

Patch Set 2 : git try #

Patch Set 3 : updates #

Total comments: 9

Patch Set 4 : updates #

Patch Set 5 : updates #

Patch Set 6 : also collect accessed cookies #

Patch Set 7 : updates #

Total comments: 16

Patch Set 8 : updates #

Patch Set 9 : include new files #

Total comments: 1

Patch Set 10 : updates #

Total comments: 1

Patch Set 11 : fix browser tests #

Total comments: 14

Patch Set 12 : updates #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+557 lines, -144 lines) Patch
M chrome/browser/browsing_data_appcache_helper.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/browsing_data_appcache_helper.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/browsing_data_database_helper.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/browsing_data_database_helper.cc View 6 7 8 9 10 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/browsing_data_local_storage_helper.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/browsing_data_local_storage_helper.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/content_setting_bubble_model.cc View 11 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/content_setting_bubble_model_unittest.cc View 11 4 chunks +10 lines, -10 lines 0 comments Download
M chrome/browser/content_setting_image_model.cc View 11 2 chunks +7 lines, -3 lines 0 comments Download
M chrome/browser/content_setting_image_model_unittest.cc View 11 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/geolocation/geolocation_browsertest.cc View 11 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/geolocation/geolocation_permission_context.cc View 11 1 chunk +6 lines, -2 lines 0 comments Download
M chrome/browser/geolocation/geolocation_permission_context_unittest.cc View 11 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/in_process_webkit/dom_storage_dispatcher_host.cc View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/renderer_host/render_view_host.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_view_host.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +13 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_view_host_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +25 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_view_host_notification_task.h View 6 7 8 9 1 chunk +13 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/resource_dispatcher_host.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/renderer_host/resource_dispatcher_host.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/renderer_host/resource_message_filter.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +8 lines, -7 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents.h View 1 2 3 4 5 6 7 8 9 10 11 12 chunks +18 lines, -33 lines 1 comment Download
M chrome/browser/tab_contents/tab_contents.cc View 1 2 3 4 5 6 7 8 9 10 11 9 chunks +13 lines, -47 lines 0 comments Download
A chrome/browser/tab_contents/tab_specific_content_settings.h View 1 chunk +114 lines, -0 lines 0 comments Download
A chrome/browser/tab_contents/tab_specific_content_settings.cc View 1 chunk +128 lines, -0 lines 0 comments Download
A chrome/browser/tab_contents/tab_specific_content_settings_unittest.cc View 1 chunk +78 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/render_messages_internal.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/renderer/render_view.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +6 lines, -2 lines 0 comments Download
M chrome_frame/test/net/fake_external_tab.cc View 8 9 10 11 1 chunk +2 lines, -2 lines 0 comments Download
M net/url_request/url_request.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +10 lines, -4 lines 0 comments Download
M net/url_request/url_request_http_job.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +12 lines, -4 lines 0 comments Download
M net/url_request/url_request_unittest.h View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +19 lines, -8 lines 0 comments Download
M net/url_request/url_request_unittest.cc View 6 7 7 chunks +10 lines, -7 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
jochen (gone - plz use gerrit)
please review. This patch collects information about all blocked cookies in the tab contents object. ...
10 years, 7 months ago (2010-05-28 11:21:34 UTC) #1
michaeln
I haven't looked thru this fully yet, but I do think I see how we ...
10 years, 6 months ago (2010-05-28 17:28:45 UTC) #2
michaeln
Hi again, still haven't looked thru entirely, but I found a couple of appcache related ...
10 years, 6 months ago (2010-05-28 20:14:02 UTC) #3
jochen (gone - plz use gerrit)
http://codereview.chromium.org/2370001/diff/1/25 File webkit/appcache/appcache_group.h (right): http://codereview.chromium.org/2370001/diff/1/25#newcode35 webkit/appcache/appcache_group.h:35: const GURL& manifest_url) = 0; On 2010/05/28 17:28:45, michaeln ...
10 years, 6 months ago (2010-05-31 09:36:10 UTC) #4
michaeln
I did see some minor inconsistencies in param names and what values are actually delivered. ...
10 years, 6 months ago (2010-05-31 16:54:45 UTC) #5
jochen (gone - plz use gerrit)
fixed all your comments, but also did the following changes: - i stripped out the ...
10 years, 6 months ago (2010-06-15 14:42:27 UTC) #6
michaeln
> please review :) oh... just noticed this... i'll take a look
10 years, 6 months ago (2010-06-16 00:13:29 UTC) #7
darin (slow to review)
It's not clear from this CL how the data added to TabContents will be used. ...
10 years, 6 months ago (2010-06-16 15:59:12 UTC) #8
michaeln
About naming... LSO... i generally think of that as "local storage object" rather than "shared". ...
10 years, 6 months ago (2010-06-17 00:13:46 UTC) #9
jochen (gone - plz use gerrit)
http://codereview.chromium.org/2370001/diff/27023/30007 File chrome/browser/in_process_webkit/dom_storage_dispatcher_host.cc (right): http://codereview.chromium.org/2370001/diff/27023/30007#newcode271 chrome/browser/in_process_webkit/dom_storage_dispatcher_host.cc:271: url, result == WebKit::WebStorageArea::ResultBlockedByPolicy); On 2010/06/16 15:59:13, darin wrote: ...
10 years, 6 months ago (2010-06-18 09:28:00 UTC) #10
darin (slow to review)
http://codereview.chromium.org/2370001/diff/42001/41026 File chrome/browser/tab_contents/tab_contents.cc (right): http://codereview.chromium.org/2370001/diff/42001/41026#newcode2151 chrome/browser/tab_contents/tab_contents.cc:2151: void TabContents::OnCookieAccessed(const GURL& url, I was also hoping you ...
10 years, 6 months ago (2010-06-18 16:28:32 UTC) #11
jochen (gone - plz use gerrit)
I implemented the content settings delegate in a separate class and made tab_contents inherit from ...
10 years, 6 months ago (2010-06-23 12:32:40 UTC) #12
brettw
http://codereview.chromium.org/2370001/diff/46001/47017 File chrome/browser/tab_contents/tab_contents.cc (right): http://codereview.chromium.org/2370001/diff/46001/47017#newcode2140 chrome/browser/tab_contents/tab_contents.cc:2140: TabContents::GetContentSettingsDelegate() { The preferred way to do this is ...
10 years, 6 months ago (2010-06-23 16:12:06 UTC) #13
jochen (gone - plz use gerrit)
On 2010/06/23 16:12:06, brettw wrote: > http://codereview.chromium.org/2370001/diff/46001/47017 > File chrome/browser/tab_contents/tab_contents.cc (right): > > http://codereview.chromium.org/2370001/diff/46001/47017#newcode2140 > ...
10 years, 6 months ago (2010-06-24 14:19:40 UTC) #14
jochen (gone - plz use gerrit)
ping? On 2010/06/24 14:19:40, jochen wrote: > On 2010/06/23 16:12:06, brettw wrote: > > http://codereview.chromium.org/2370001/diff/46001/47017 ...
10 years, 5 months ago (2010-06-28 18:45:27 UTC) #15
darin (slow to review)
http://codereview.chromium.org/2370001/diff/52001/53009 File chrome/browser/content_setting_bubble_model.cc (right): http://codereview.chromium.org/2370001/diff/52001/53009#newcode200 chrome/browser/content_setting_bubble_model.cc:200: tab_contents()->GetContentSettingsDelegate()); it seems odd that this static_cast should be ...
10 years, 5 months ago (2010-06-29 20:02:33 UTC) #16
jochen (gone - plz use gerrit)
http://codereview.chromium.org/2370001/diff/52001/53009 File chrome/browser/content_setting_bubble_model.cc (right): http://codereview.chromium.org/2370001/diff/52001/53009#newcode200 chrome/browser/content_setting_bubble_model.cc:200: tab_contents()->GetContentSettingsDelegate()); On 2010/06/29 20:02:33, darin wrote: > it seems ...
10 years, 5 months ago (2010-06-29 20:08:41 UTC) #17
darin (slow to review)
On Tue, Jun 29, 2010 at 1:08 PM, <jochen@chromium.org> wrote: > > http://codereview.chromium.org/2370001/diff/52001/53009 > File ...
10 years, 5 months ago (2010-06-30 00:05:41 UTC) #18
brettw
I'll assume Darin has this covered so don't wait for an LGTM from me.
10 years, 5 months ago (2010-06-30 21:19:27 UTC) #19
jochen (gone - plz use gerrit)
http://codereview.chromium.org/2370001/diff/52001/53009 File chrome/browser/content_setting_bubble_model.cc (right): http://codereview.chromium.org/2370001/diff/52001/53009#newcode200 chrome/browser/content_setting_bubble_model.cc:200: tab_contents()->GetContentSettingsDelegate()); On 2010/06/29 20:08:42, jochen wrote: > On 2010/06/29 ...
10 years, 5 months ago (2010-07-02 12:15:20 UTC) #20
darin (slow to review)
10 years, 5 months ago (2010-07-02 16:09:49 UTC) #21
LGTM

http://codereview.chromium.org/2370001/diff/64001/45024
File chrome/browser/tab_contents/tab_contents.h (right):

http://codereview.chromium.org/2370001/diff/64001/45024#newcode698
chrome/browser/tab_contents/tab_contents.h:698: // The
TabSpecificContentSettings object is used to query to blocked content
nit: "use to query to" -> "use to query the"

Powered by Google App Engine
This is Rietveld 408576698