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

Issue 2512563003: Convert enable_plugins to a buildflag header. (Closed)

Created:
4 years, 1 month ago by brettw
Modified:
4 years, 1 month ago
Reviewers:
Robert Sesek, bbudge
CC:
chromium-reviews, asanka, msramek+watch_chromium.org, droger+watchlist_chromium.org, blundell+watchlist_chromium.org, nasko+codewatch_chromium.org, browser-components-watch_chromium.org, markusheintz_, extensions-reviews_chromium.org, wjmaclean, sebsg+autofillwatch_chromium.org, sdefresne+watchlist_chromium.org, jam, raymes+watch_chromium.org, Peter Beverloo, darin-cc_chromium.org, vabr+watchlistautofill_chromium.org, chromium-apps-reviews_chromium.org, dbeam+watch-options_chromium.org, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, rouslan+autofill_chromium.org, Randy Smith (Not in Mondays), rickyz+watch_chromium.org, loading-reviews_chromium.org, asvitkine+watch_chromium.org, mlamouri+watch-permissions_chromium.org, jochen+watch_chromium.org, michaelpg+watch-options_chromium.org, mlamouri+watch-test-runner_chromium.org, feature-media-reviews_chromium.org, mathp+autofillwatch_chromium.org, jdonnelly+autofillwatch_chromium.org, estade+watch_chromium.org, mmenke, einbinder+watch-test-runner_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Convert enable_plugins to a buildflag header. Moves the build flag from build/config/features.gni to ppapi/features/features.gni so it's not global any more. Moves the define from build/config (global) to a generated buildflag header //ppapi/features:features. Updates callers to use BUILDFLAG, include the new header, and depend on this target. R=bbudge TBR=rsesek@chromium.org (*_messages.h files). CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/4b46108b37f0e0c7de0f86f3dc1d229e1a2bf168 Cr-Commit-Position: refs/heads/master@{#433426}

Patch Set 1 #

Patch Set 2 : Self review #

Patch Set 3 : Missing Mac dep #

Patch Set 4 : Mac for realz #

Patch Set 5 : Merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+491 lines, -330 lines) Patch
M build/config/BUILD.gn View 1 chunk +0 lines, -3 lines 0 comments Download
M build/config/features.gni View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/app/BUILD.gn View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/app/chrome_main_delegate.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/android/tab_web_contents_delegate_android.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/apps/guest_view/web_view_browsertest.cc View 4 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/browser_process_impl.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/browsing_data/browsing_data_remover.h View 5 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/browsing_data/browsing_data_remover.cc View 8 chunks +8 lines, -7 lines 0 comments Download
M chrome/browser/browsing_data/browsing_data_remover_unittest.cc View 4 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.h View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 14 chunks +14 lines, -13 lines 0 comments Download
M chrome/browser/content_settings/content_settings_browsertest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/content_settings/content_settings_pref_provider_unittest.cc View 5 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/content_settings/host_content_settings_map_unittest.cc View 10 chunks +10 lines, -9 lines 0 comments Download
M chrome/browser/download/chrome_download_manager_delegate.cc View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/download/download_target_determiner.h View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/download/download_target_determiner.cc View 6 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/download/download_target_determiner_unittest.cc View 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/extensions/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/browser_context_keyed_service_factories.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/component_loader.cc View 1 2 3 4 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_garbage_collector_chromeos_unittest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_garbage_collector_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_service_unittest.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/guest_view/web_view/chrome_web_view_permission_helper_delegate.h View 3 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/guest_view/web_view/chrome_web_view_permission_helper_delegate.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/metrics/chrome_metrics_service_client.h View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/metrics/chrome_metrics_service_client.cc View 7 chunks +11 lines, -10 lines 0 comments Download
M chrome/browser/metrics/chrome_stability_metrics_provider.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/metrics/metrics_memory_details.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/permissions/permission_manager.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/policy/configuration_policy_handler_list_factory.cc View 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 1 2 3 4 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/profiles/off_the_record_profile_impl.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/profiles/profile_impl.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/renderer_context_menu/render_view_context_menu.h View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/renderer_context_menu/render_view_context_menu.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/renderer_host/chrome_render_message_filter.h View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/renderer_host/chrome_render_message_filter.cc View 4 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/content_settings/content_setting_bubble_model.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/website_settings/permission_menu_model.cc View 3 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/ui/website_settings/website_settings_ui.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/website_settings/website_settings_unittest.cc View 5 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/options/content_settings_handler.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/version_handler.cc View 4 chunks +4 lines, -3 lines 0 comments Download
M chrome/common/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_content_client.h View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/common/chrome_content_client.cc View 7 chunks +8 lines, -8 lines 0 comments Download
M chrome/common/chrome_content_client_unittest.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/common/chrome_features.h View 1 2 3 4 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/common/chrome_features.cc View 1 2 3 4 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M chrome/common/features.gni View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/common/pref_names.h View 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/common/pref_names.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/common/render_messages.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.h View 4 chunks +4 lines, -3 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 14 chunks +16 lines, -15 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/test/base/test_switches.h View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/test/base/test_switches.cc View 1 chunk +2 lines, -1 line 0 comments Download
M components/autofill/DEPS View 1 chunk +4 lines, -0 lines 0 comments Download
M components/autofill/content/browser/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M components/autofill/content/browser/risk/fingerprint.cc View 2 chunks +2 lines, -1 line 0 comments Download
M components/content_settings/core/browser/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M components/plugins/renderer/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M components/renderer_context_menu/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M components/renderer_context_menu/DEPS View 1 chunk +2 lines, -0 lines 0 comments Download
M components/renderer_context_menu/render_view_context_menu_base.h View 2 chunks +2 lines, -1 line 0 comments Download
M components/renderer_context_menu/render_view_context_menu_base.cc View 2 chunks +2 lines, -1 line 0 comments Download
M components/strings/BUILD.gn View 2 chunks +3 lines, -0 lines 0 comments Download
M content/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M content/app/BUILD.gn View 2 chunks +2 lines, -0 lines 0 comments Download
M content/app/content_main_runner.cc View 4 chunks +4 lines, -3 lines 0 comments Download
M content/browser/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/android/browser_startup_controller.cc View 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/browser_main_loop.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/child_process_launcher.cc View 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/download/download_browsertest.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M content/browser/frame_host/debug_urls.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M content/browser/frame_host/render_frame_message_filter.h View 3 chunks +4 lines, -3 lines 0 comments Download
M content/browser/frame_host/render_frame_message_filter.cc View 7 chunks +7 lines, -6 lines 0 comments Download
M content/browser/loader/mime_sniffing_resource_handler.h View 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/loader/mime_sniffing_resource_handler.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M content/browser/loader/mime_sniffing_resource_handler_unittest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/loader/resource_dispatcher_host_impl.cc View 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/plugin_private_storage_helper.h View 1 1 chunk +3 lines, -1 line 0 comments Download
M content/browser/plugin_service_impl.h View 1 1 chunk +3 lines, -1 line 0 comments Download
M content/browser/renderer_host/pepper/browser_ppapi_host_impl.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 chunks +5 lines, -4 lines 0 comments Download
M content/browser/storage_partition_impl.cc View 1 2 3 4 3 chunks +5 lines, -4 lines 0 comments Download
M content/browser/storage_partition_impl_unittest.cc View 8 chunks +11 lines, -10 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 3 4 6 chunks +7 lines, -6 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 8 chunks +8 lines, -7 lines 0 comments Download
M content/child/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/common/BUILD.gn View 2 chunks +2 lines, -0 lines 0 comments Download
M content/common/all_messages.h View 1 chunk +4 lines, -1 line 0 comments Download
M content/common/frame_messages.h View 1 2 3 4 7 chunks +7 lines, -6 lines 0 comments Download
M content/common/native_types.typemap View 1 chunk +1 line, -0 lines 0 comments Download
M content/common/pepper_file_util.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/common/pepper_plugin_list.h View 1 chunk +3 lines, -1 line 0 comments Download
M content/common/pepper_renderer_instance_data.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/common/plugin_list.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/common/view_messages.h View 4 chunks +4 lines, -3 lines 0 comments Download
M content/public/common/BUILD.gn View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M content/public/common/pepper_plugin_info.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/public/renderer/BUILD.gn View 2 chunks +2 lines, -0 lines 0 comments Download
M content/public/renderer/render_frame.h View 2 chunks +2 lines, -1 line 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 3 4 9 chunks +9 lines, -8 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 23 chunks +23 lines, -23 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 3 chunks +3 lines, -2 lines 0 comments Download
M content/renderer/render_widget.cc View 9 chunks +9 lines, -8 lines 0 comments Download
M content/renderer/renderer_blink_platform_impl.cc View 2 chunks +2 lines, -1 line 0 comments Download
M content/renderer/renderer_main.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M content/renderer/text_input_client_observer.h View 2 chunks +2 lines, -1 line 0 comments Download
M content/renderer/text_input_client_observer.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M content/shell/BUILD.gn View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M content/shell/app/shell_main_delegate.cc View 2 chunks +2 lines, -1 line 0 comments Download
M content/shell/browser/layout_test/layout_test_browser_main_parts.h View 2 chunks +2 lines, -1 line 0 comments Download
M content/shell/browser/layout_test/layout_test_browser_main_parts.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M content/shell/renderer/shell_content_renderer_client.cc View 3 chunks +4 lines, -3 lines 0 comments Download
M content/test/BUILD.gn View 1 2 3 4 3 chunks +3 lines, -0 lines 0 comments Download
M content/utility/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M content/utility/utility_thread_impl.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/zygote/zygote_main_linux.cc View 4 chunks +4 lines, -3 lines 0 comments Download
M extensions/browser/DEPS View 1 1 chunk +2 lines, -0 lines 0 comments Download
M extensions/browser/guest_view/web_view/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M extensions/browser/guest_view/web_view/web_view_permission_helper.h View 2 chunks +3 lines, -2 lines 0 comments Download
M extensions/browser/guest_view/web_view/web_view_permission_helper.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M media/base/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M media/base/mac/BUILD.gn View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M media/base/media_switches.h View 2 chunks +5 lines, -4 lines 0 comments Download
M media/base/media_switches.cc View 2 chunks +5 lines, -4 lines 0 comments Download
M ppapi/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/features/BUILD.gn View 1 chunk +4 lines, -1 line 0 comments Download
M ppapi/features/features.gni View 1 chunk +5 lines, -0 lines 0 comments Download
M tools/grit/grit_rule.gni View 1 chunk +0 lines, -6 lines 0 comments Download

Messages

Total messages: 46 (27 generated)
brettw
Self review
4 years, 1 month ago (2016-11-17 16:55:20 UTC) #2
brettw
4 years, 1 month ago (2016-11-17 19:16:32 UTC) #8
brettw
Missing Mac dep
4 years, 1 month ago (2016-11-17 19:17:02 UTC) #9
brettw
Mac for realz
4 years, 1 month ago (2016-11-17 20:02:13 UTC) #14
bbudge
pepper / ppapi lgtm
4 years, 1 month ago (2016-11-17 20:03:07 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2512563003/60001
4 years, 1 month ago (2016-11-17 20:26:17 UTC) #20
brettw
+rsesek TBR for mechanical changes in *_messages.h files.
4 years, 1 month ago (2016-11-17 21:18:08 UTC) #23
Robert Sesek
lgtm
4 years, 1 month ago (2016-11-17 21:23:13 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/337948)
4 years, 1 month ago (2016-11-17 22:09:59 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2512563003/60001
4 years, 1 month ago (2016-11-17 22:18:19 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/338121)
4 years, 1 month ago (2016-11-18 00:22:11 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2512563003/60001
4 years, 1 month ago (2016-11-18 18:26:03 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/338983)
4 years, 1 month ago (2016-11-18 22:30:09 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2512563003/60001
4 years, 1 month ago (2016-11-19 15:08:25 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_clobber_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_clobber_rel_ng/builds/274966)
4 years, 1 month ago (2016-11-19 15:52:30 UTC) #38
brettw
Merge
4 years, 1 month ago (2016-11-19 16:27:26 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2512563003/80001
4 years, 1 month ago (2016-11-19 16:27:36 UTC) #42
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 1 month ago (2016-11-19 18:55:43 UTC) #44
commit-bot: I haz the power
4 years, 1 month ago (2016-11-19 18:58:21 UTC) #46
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/4b46108b37f0e0c7de0f86f3dc1d229e1a2bf168
Cr-Commit-Position: refs/heads/master@{#433426}

Powered by Google App Engine
This is Rietveld 408576698