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

Issue 541813002: Componentize chrome/common/content_settings files. (Closed)

Created:
6 years, 3 months ago by Jun Mukai
Modified:
6 years, 3 months ago
CC:
asanka, benjhayden+dwatch_chromium.org, blundell, cbentzel+watch_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, davemoore+watch_chromium.org, dbeam+watch-options_chromium.org, dkrahn+watch_chromium.org, extensions-reviews_chromium.org, feature-media-reviews_chromium.org, jam, marja+watch_chromium.org, markusheintz_, mcasas+watch_chromium.org, Michael van Ouwerkerk, nkostylev+watch_chromium.org, oshima+watch_chromium.org, posciak+watch_chromium.org, stevenjb+watch_chromium.org, stuartmorgan+watch_chromium.org, tfarina, vabr (Chromium), vasilii, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Componentize chrome/common/content_settings files. BUG=387077, 387079 R=bauerb@chromium.org, jochen@chromium.org, markusheintz@chromium.org TBR=abarth@chromium.org TEST=build succeeds / components_unittests Committed: https://crrev.com/077089f9cce13eb689acddf183b3af83a2b9ec2d Cr-Commit-Position: refs/heads/master@{#294430}

Patch Set 1 #

Patch Set 2 : comments #

Patch Set 3 : OWNERS #

Total comments: 4

Patch Set 4 : fix #

Total comments: 2

Patch Set 5 : rebase #

Patch Set 6 : fix #

Total comments: 2

Patch Set 7 : rebase #

Patch Set 8 : rebase2 #

Patch Set 9 : GN fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -1079 lines) Patch
M WATCHLISTS View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M chrome/DEPS View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/browsing_data/cookies_tree_model.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 5 6 7 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/content_settings/content_settings_default_provider.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/content_settings/content_settings_details.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/content_settings/content_settings_internal_extension_provider.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/content_settings/content_settings_internal_extension_provider.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/content_settings/content_settings_pref_provider.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/content_settings/content_settings_usages_state.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/content_settings/content_settings_utils.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/content_settings/cookie_settings.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/content_settings/host_content_settings_map.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/content_settings/permission_context_base_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/content_settings/permission_queue_controller.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/content_settings/tab_specific_content_settings.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/download/download_request_limiter.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/content_settings/content_settings_helpers.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/content_settings/content_settings_store.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_special_storage_policy.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_special_storage_policy_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/media/media_stream_devices_controller.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/net/ssl_config_service_manager_pref.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/net/ssl_config_service_manager_pref_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/notifications/desktop_notification_profile_util.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/notifications/desktop_notification_service.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/notifications/message_center_settings_controller.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/notifications/notification_browsertest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/plugins/plugin_info_message_filter.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/plugins/plugin_info_message_filter.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/policy/javascript_policy_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/policy/javascript_policy_handler_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/policy/policy_browsertest.cc View 1 2 3 4 5 6 7 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/renderer_host/pepper/pepper_broker_message_filter.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sessions/better_session_restore_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/android/content_settings/popup_blocked_infobar_delegate.cc View 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/ui/browser.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/website_settings/permission_selector_button.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/content_settings/content_setting_bubble_model.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/content_settings/content_setting_bubble_model.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/content_settings/content_setting_bubble_model_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/fullscreen/fullscreen_controller.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/collected_cookies_views.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/website_settings/permission_selector_view.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/website_settings/permission_menu_model.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/website_settings/permission_menu_model_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/website_settings/website_settings.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/website_settings/website_settings_ui.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/website_settings/website_settings_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/options/content_settings_handler.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/options/content_settings_handler.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/options/pepper_flash_content_settings_utils.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/common/common_param_traits_macros.h View 1 chunk +1 line, -1 line 0 comments Download
D chrome/common/content_settings.h View 1 2 3 4 1 chunk +0 lines, -76 lines 0 comments Download
D chrome/common/content_settings.cc View 1 chunk +0 lines, -31 lines 0 comments Download
D chrome/common/content_settings_pattern_parser_unittest.cc View 1 2 3 4 1 chunk +0 lines, -230 lines 0 comments Download
D chrome/common/content_settings_pattern_unittest.cc View 1 2 3 4 1 chunk +0 lines, -672 lines 0 comments Download
M chrome/common/render_messages.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/chrome_render_process_observer.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/content_settings_observer.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/content_settings_observer_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M components/OWNERS View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M components/components_tests.gyp View 1 2 3 4 5 6 7 3 chunks +6 lines, -0 lines 0 comments Download
M components/content_settings.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M components/content_settings/core/common/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +23 lines, -1 line 0 comments Download
M components/content_settings/core/common/DEPS View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
A + components/content_settings/core/common/content_settings.h View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
A + components/content_settings/core/common/content_settings.cc View 1 chunk +1 line, -1 line 0 comments Download
A + components/content_settings/core/common/content_settings_pattern_parser_unittest.cc View 1 2 3 4 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/content_settings/core/common/content_settings_pattern_unittest.cc View 1 2 3 4 0 chunks +-1 lines, --1 lines 0 comments Download
M components/omnibox/autocomplete_input_unittest.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M components/test/DEPS View 1 1 chunk +2 lines, -0 lines 0 comments Download
M components/test/run_all_unittests.cc View 1 2 chunks +13 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (12 generated)
Jun Mukai
6 years, 3 months ago (2014-09-04 16:48:09 UTC) #2
vabr (Chromium)
Thanks, Jun! LGTM with 2 comments. Vaclav https://codereview.chromium.org/541813002/diff/40001/chrome/DEPS File chrome/DEPS (right): https://codereview.chromium.org/541813002/diff/40001/chrome/DEPS#newcode19 chrome/DEPS:19: "+components/content_settings", Is ...
6 years, 3 months ago (2014-09-04 20:02:51 UTC) #4
Jun Mukai
https://codereview.chromium.org/541813002/diff/40001/chrome/DEPS File chrome/DEPS (right): https://codereview.chromium.org/541813002/diff/40001/chrome/DEPS#newcode19 chrome/DEPS:19: "+components/content_settings", On 2014/09/04 20:02:51, vabr (Chromium) wrote: > Is ...
6 years, 3 months ago (2014-09-04 23:50:40 UTC) #5
blundell
lgtm https://codereview.chromium.org/541813002/diff/60001/components/components_tests.gyp File components/components_tests.gyp (right): https://codereview.chromium.org/541813002/diff/60001/components/components_tests.gyp#newcode500 components/components_tests.gyp:500: ['include', '^crash/'], please add content_settings here.
6 years, 3 months ago (2014-09-05 09:20:32 UTC) #7
Jun Mukai
rebased. PTAL https://codereview.chromium.org/541813002/diff/60001/components/components_tests.gyp File components/components_tests.gyp (right): https://codereview.chromium.org/541813002/diff/60001/components/components_tests.gyp#newcode500 components/components_tests.gyp:500: ['include', '^crash/'], On 2014/09/05 09:20:32, blundell wrote: ...
6 years, 3 months ago (2014-09-05 17:37:26 UTC) #8
Bernhard Bauer
LGTM (rubberstamp-ish, as I'm not an expert on componentization, but everything in here looks reasonable ...
6 years, 3 months ago (2014-09-08 09:09:49 UTC) #9
jochen (gone - plz use gerrit)
https://codereview.chromium.org/541813002/diff/100001/components/test/run_all_unittests.cc File components/test/run_all_unittests.cc (right): https://codereview.chromium.org/541813002/diff/100001/components/test/run_all_unittests.cc#newcode91 components/test/run_all_unittests.cc:91: url::AddStandardScheme("chrome"); why does the content_settings_pattern* test need these? It ...
6 years, 3 months ago (2014-09-08 11:11:12 UTC) #10
Jun Mukai
https://codereview.chromium.org/541813002/diff/100001/components/test/run_all_unittests.cc File components/test/run_all_unittests.cc (right): https://codereview.chromium.org/541813002/diff/100001/components/test/run_all_unittests.cc#newcode91 components/test/run_all_unittests.cc:91: url::AddStandardScheme("chrome"); On 2014/09/08 11:11:12, jochen wrote: > why does ...
6 years, 3 months ago (2014-09-08 16:56:05 UTC) #11
jochen (gone - plz use gerrit)
On 2014/09/08 at 16:56:05, mukai wrote: > https://codereview.chromium.org/541813002/diff/100001/components/test/run_all_unittests.cc > File components/test/run_all_unittests.cc (right): > > https://codereview.chromium.org/541813002/diff/100001/components/test/run_all_unittests.cc#newcode91 ...
6 years, 3 months ago (2014-09-09 07:53:59 UTC) #14
Jun Mukai
On 2014/09/09 07:53:59, jochen wrote: > On 2014/09/08 at 16:56:05, mukai wrote: > > > ...
6 years, 3 months ago (2014-09-09 16:21:06 UTC) #15
jochen (gone - plz use gerrit)
ok, lgtm
6 years, 3 months ago (2014-09-10 07:55:56 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/541813002/100001
6 years, 3 months ago (2014-09-10 22:51:24 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/65291) mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/54342) win_gpu ...
6 years, 3 months ago (2014-09-10 23:57:02 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/541813002/120001
6 years, 3 months ago (2014-09-11 00:01:20 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/65334) mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/54376) win_gpu ...
6 years, 3 months ago (2014-09-11 00:17:05 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/541813002/140001
6 years, 3 months ago (2014-09-11 00:24:23 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/14369) linux_chromium_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_swarming/builds/15070)
6 years, 3 months ago (2014-09-11 01:07:06 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/541813002/160001
6 years, 3 months ago (2014-09-11 17:13:44 UTC) #30
commit-bot: I haz the power
Committed patchset #9 (id:160001) as feefac3614eddb6ca2e53a10bb970b42ddd43a8d
6 years, 3 months ago (2014-09-11 18:42:44 UTC) #31
commit-bot: I haz the power
6 years, 3 months ago (2014-09-11 19:09:13 UTC) #32
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/077089f9cce13eb689acddf183b3af83a2b9ec2d
Cr-Commit-Position: refs/heads/master@{#294430}

Powered by Google App Engine
This is Rietveld 408576698