|
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}
|
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
|
Total messages: 46 (27 generated)
|