|
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}
|
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:
Total messages: 22 (14 generated)
|