 Chromium Code Reviews
 Chromium Code Reviews Issue 1034143002:
  Content settings clean-up: Clarify resource identifier & get rid of NO_RESOURCE_IDENTIFIER.  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master
    
  
    Issue 1034143002:
  Content settings clean-up: Clarify resource identifier & get rid of NO_RESOURCE_IDENTIFIER.  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master| Index: chrome/browser/notifications/platform_notification_service_impl.cc | 
| diff --git a/chrome/browser/notifications/platform_notification_service_impl.cc b/chrome/browser/notifications/platform_notification_service_impl.cc | 
| index 8b8136942c41f37b3988226f8d5eb8a3a393cb3c..f30f8c4e6f785964b2f59d92df28bfa82480c2a5 100644 | 
| --- a/chrome/browser/notifications/platform_notification_service_impl.cc | 
| +++ b/chrome/browser/notifications/platform_notification_service_impl.cc | 
| @@ -176,10 +176,8 @@ PlatformNotificationServiceImpl::CheckPermissionOnIOThread( | 
| HostContentSettingsMap* host_content_settings_map = | 
| io_data->GetHostContentSettingsMap(); | 
| ContentSetting setting = host_content_settings_map->GetContentSetting( | 
| - origin, | 
| - origin, | 
| - CONTENT_SETTINGS_TYPE_NOTIFICATIONS, | 
| - NO_RESOURCE_IDENTIFIER); | 
| + origin, origin, CONTENT_SETTINGS_TYPE_NOTIFICATIONS, | 
| + NoResourceIdentifier::GetResourceIdentifier()); | 
| 
markusheintz_
2015/03/27 10:27:34
nit: Please put each param back into a single line
 
Deepak
2015/03/27 11:40:04
Done.
 | 
| if (setting == CONTENT_SETTING_ALLOW) | 
| return blink::WebNotificationPermissionAllowed; |