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

Issue 2405013002: Move some global feature defines to buildflags (Closed)

Created:
4 years, 2 months ago by brettw
Modified:
4 years, 2 months ago
Reviewers:
Lei Zhang, jschuh
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, jam, arv+watch_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move some global feature defines to buildflags Moves enable_captive_portal_detection enable_hangout_services_extension enable_plugin_installation out of the global features.gni files and moves them into chrome/common's feature flags buildflag header. This increases encapsulation and reduces the global #defines passed to all compiles. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation TBR=jschuh (render_messages.h) Committed: https://crrev.com/ab78fefbe385452fae85587b505bcc1bac60a17f Cr-Commit-Position: refs/heads/master@{#424659}

Patch Set 1 #

Patch Set 2 : Comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -111 lines) Patch
M build/config/BUILD.gn View 2 chunks +0 lines, -9 lines 0 comments Download
M build/config/features.gni View 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/browser/BUILD.gn View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/browser_process_impl.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/browser_process_impl.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/extensions/component_extensions_whitelist/whitelist.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/component_loader.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/guest_view/web_view/chrome_web_view_permission_helper_delegate.h View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/guest_view/web_view/chrome_web_view_permission_helper_delegate.cc View 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/interstitials/chrome_metrics_helper.h View 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/interstitials/chrome_metrics_helper.cc View 4 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/plugins/plugin_finder.h View 4 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/plugins/plugin_finder.cc View 4 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/plugins/plugin_info_message_filter.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/plugins/plugin_infobar_delegates.h View 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/plugins/plugin_infobar_delegates.cc View 4 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/plugins/plugin_observer.h View 4 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/plugins/plugin_observer.cc View 12 chunks +13 lines, -12 lines 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/BUILD.gn View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ssl/captive_portal_blocking_page.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ssl/ssl_error_handler.cc View 7 chunks +7 lines, -6 lines 0 comments Download
M chrome/browser/ssl/ssl_error_handler_unittest.cc View 4 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/tab_helpers.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/interstitials/interstitial_ui.cc View 5 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/plugins/plugins_handler.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/common/BUILD.gn View 2 chunks +4 lines, -1 line 0 comments Download
M chrome/common/features.gni View 1 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/pref_names.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/common/render_messages.h View 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/common/url_constants.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/url_constants.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/renderer/plugins/chrome_plugin_placeholder.h View 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/renderer/plugins/chrome_plugin_placeholder.cc View 5 chunks +5 lines, -4 lines 0 comments Download
M chrome/test/base/in_process_browser_test.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M tools/grit/grit_rule.gni View 1 chunk +0 lines, -6 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 21 (13 generated)
brettw
Comment
4 years, 2 months ago (2016-10-10 22:43:14 UTC) #2
brettw
4 years, 2 months ago (2016-10-11 22:50:55 UTC) #8
Lei Zhang
lgtm
4 years, 2 months ago (2016-10-11 23:05:07 UTC) #9
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/2405013002/20001
4 years, 2 months ago (2016-10-11 23:16:37 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/278787)
4 years, 2 months ago (2016-10-11 23:29:05 UTC) #13
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/2405013002/20001
4 years, 2 months ago (2016-10-11 23:40:09 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-12 02:56:32 UTC) #19
commit-bot: I haz the power
4 years, 2 months ago (2016-10-12 02:58:44 UTC) #21
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/ab78fefbe385452fae85587b505bcc1bac60a17f
Cr-Commit-Position: refs/heads/master@{#424659}

Powered by Google App Engine
This is Rietveld 408576698