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

Issue 2878075: Introduce a resource identifier for content settings. (Closed)

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

Description

Introduce a resource identifier for content settings. This will allow for having per plugin content settings, i.e. the content settings type would be plugin and the resource identifier would be to concrete plugin that is about to be loaded. BUG=39252 TEST=unit_tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=55213

Patch Set 1 #

Total comments: 2

Patch Set 2 : updates #

Patch Set 3 : rebase #

Patch Set 4 : updates #

Patch Set 5 : updates #

Patch Set 6 : updates #

Total comments: 1

Patch Set 7 : updates #

Unified diffs Side-by-side diffs Delta from patch set Stats (+609 lines, -213 lines) Patch
M chrome/browser/appcache/chrome_appcache_service.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/automation/automation_provider.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/cocoa/content_exceptions_window_controller_unittest.mm View 10 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/content_exceptions_table_model.cc View 3 chunks +11 lines, -5 lines 0 comments Download
M chrome/browser/content_setting_bubble_model.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/cookie_modal_dialog.cc View 3 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/cookies_tree_model.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/cookies_tree_model_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/dom_ui/content_settings_handler.cc View 1 2 3 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/gtk/options/content_exceptions_window_gtk_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/host_content_settings_map.h View 1 2 3 4 5 7 chunks +74 lines, -29 lines 0 comments Download
M chrome/browser/host_content_settings_map.cc View 1 2 3 4 5 6 23 chunks +314 lines, -91 lines 0 comments Download
M chrome/browser/host_content_settings_map_unittest.cc View 1 2 3 4 5 13 chunks +172 lines, -70 lines 0 comments Download
M chrome/browser/in_process_webkit/dom_storage_area.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/in_process_webkit/dom_storage_permission_request.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/net/chrome_cookie_policy.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/renderer_host/database_dispatcher_host.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/renderer_host/database_permission_request.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/tab_contents/tab_contents.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/testing_pref_service.h View 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
jochen (gone - plz use gerrit)
work in process. That patch so far only changes the interface and adopts all calling ...
10 years, 4 months ago (2010-08-03 15:55:26 UTC) #1
Bernhard Bauer
http://codereview.chromium.org/2878075/diff/1/11 File chrome/browser/host_content_settings_map.cc (right): http://codereview.chromium.org/2878075/diff/1/11#newcode426 chrome/browser/host_content_settings_map.cc:426: SetContentSetting(Pattern::FromURL(url), content_type, "", setting); Even if you're currently only ...
10 years, 4 months ago (2010-08-03 17:06:51 UTC) #2
jochen (gone - plz use gerrit)
please review.
10 years, 4 months ago (2010-08-06 09:50:18 UTC) #3
Bernhard Bauer
10 years, 4 months ago (2010-08-06 10:57:25 UTC) #4
LGTM

http://codereview.chromium.org/2878075/diff/5002/15012
File chrome/browser/host_content_settings_map.cc (right):

http://codereview.chromium.org/2878075/diff/5002/15012#newcode45
chrome/browser/host_content_settings_map.cc:45: // The prefernce keys where
resource identifiers are stored for
Nit: "preference"

Powered by Google App Engine
This is Rietveld 408576698