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

Unified Diff: chrome/browser/notifications/platform_notification_service_impl.cc

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
Patch Set: Created 5 years, 9 months 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
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;

Powered by Google App Engine
This is Rietveld 408576698