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

Issue 2555833002: Remove enable_notifications build flag and define (Closed)

Created:
4 years ago by brettw
Modified:
4 years ago
Reviewers:
Peter Beverloo
CC:
chromium-reviews, extensions-reviews_chromium.org, awdf+watch_chromium.org, Peter Beverloo, johnme+watch_chromium.org, asvitkine+watch_chromium.org, mlamouri+watch-permissions_chromium.org, chromium-apps-reviews_chromium.org, harkness+watch_chromium.org, mlamouri+watch-notifications_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove enable_notifications build flag and define This flag is not overridable and is set everywhere except iOS. All users except one are in //chrome which isn't compiled on iOS. So in all of these cases we can remove the conditionals and always compile the code. For the one case in ui, The conditional is replaced with !is_ios. This was also done with the .grd file in chrome. This file has a lot of iOS conditionals and I want to be sure it's not needed on iOS before inlining them unconditionally. Then we can delete all of the iOS conditionals. BUG=671706 Committed: https://crrev.com/1f92eed58cef4d29db962d41d1055935d4cd2f59 Cr-Commit-Position: refs/heads/master@{#436813}

Patch Set 1 #

Patch Set 2 : Merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -236 lines) Patch
M build/config/BUILD.gn View 1 chunk +0 lines, -3 lines 0 comments Download
M build/config/features.gni View 1 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/app/generated_resources.grd View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/BUILD.gn View 1 6 chunks +83 lines, -92 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/background/background_contents_service.cc View 5 chunks +0 lines, -9 lines 0 comments Download
M chrome/browser/background/background_contents_service_unittest.cc View 6 chunks +3 lines, -10 lines 0 comments Download
M chrome/browser/browser_process_impl.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/extensions/extension_system_impl.cc View 4 chunks +2 lines, -7 lines 0 comments Download
M chrome/browser/permissions/permission_context_base_unittest.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/permissions/permission_infobar_delegate.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/permissions/permission_request_impl.cc View 4 chunks +0 lines, -8 lines 0 comments Download
M chrome/browser/permissions/permission_util.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 2 chunks +2 lines, -6 lines 0 comments Download
M chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/push_messaging/push_messaging_browsertest.cc View 8 chunks +0 lines, -13 lines 0 comments Download
M chrome/browser/push_messaging/push_messaging_service_impl.h View 3 chunks +1 line, -6 lines 0 comments Download
M chrome/browser/push_messaging/push_messaging_service_impl.cc View 3 chunks +0 lines, -4 lines 0 comments Download
M chrome/test/BUILD.gn View 7 chunks +29 lines, -45 lines 0 comments Download
M chrome/test/base/testing_browser_process.cc View 1 chunk +1 line, -1 line 0 comments Download
M tools/grit/grit_rule.gni View 1 chunk +0 lines, -6 lines 0 comments Download
M ui/message_center/BUILD.gn View 4 chunks +4 lines, -4 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 22 (14 generated)
brettw
4 years ago (2016-12-06 19:01:50 UTC) #2
Peter Beverloo
lgtm \o/ thank you for cleaning this up!
4 years ago (2016-12-06 19:07:10 UTC) #6
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/2555833002/1
4 years ago (2016-12-06 20:11:12 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/175874)
4 years ago (2016-12-06 21:03:25 UTC) #13
brettw
Merge
4 years ago (2016-12-06 21:10:05 UTC) #14
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/2555833002/20001
4 years ago (2016-12-06 21:10:52 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-07 01:13:29 UTC) #20
commit-bot: I haz the power
4 years ago (2016-12-07 01:16:16 UTC) #22
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/1f92eed58cef4d29db962d41d1055935d4cd2f59
Cr-Commit-Position: refs/heads/master@{#436813}

Powered by Google App Engine
This is Rietveld 408576698