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

Unified Diff: chrome/browser/permissions/permission_util.cc

Issue 2555833002: Remove enable_notifications build flag and define (Closed)
Patch Set: Merge Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/permissions/permission_request_impl.cc ('k') | chrome/browser/prefs/browser_prefs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/permissions/permission_util.cc
diff --git a/chrome/browser/permissions/permission_util.cc b/chrome/browser/permissions/permission_util.cc
index 3048533bb95a59ea6b259799669f1921d9a2da1b..0643a0f7fc9c37a247e5ce3d82ab37e6f0a642f3 100644
--- a/chrome/browser/permissions/permission_util.cc
+++ b/chrome/browser/permissions/permission_util.cc
@@ -60,10 +60,8 @@ PermissionRequestType PermissionUtil::GetRequestType(
switch (type) {
case content::PermissionType::GEOLOCATION:
return PermissionRequestType::PERMISSION_GEOLOCATION;
-#if defined(ENABLE_NOTIFICATIONS)
case content::PermissionType::NOTIFICATIONS:
return PermissionRequestType::PERMISSION_NOTIFICATIONS;
-#endif
case content::PermissionType::MIDI_SYSEX:
return PermissionRequestType::PERMISSION_MIDI_SYSEX;
case content::PermissionType::PUSH_MESSAGING:
« no previous file with comments | « chrome/browser/permissions/permission_request_impl.cc ('k') | chrome/browser/prefs/browser_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698