| Index: chrome/browser/chrome_content_browser_client.cc
|
| diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
|
| index 7df193708404925cba297cbecd07ede7ad894098..65b0a7762efee86ab154f52097c6d0684b945620 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -1877,6 +1877,7 @@ ChromeContentBrowserClient::CheckDesktopNotificationPermission(
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
|
|
|
| ProfileIOData* io_data = ProfileIOData::FromResourceContext(context);
|
| +#if defined(ENABLE_EXTENSIONS)
|
| InfoMap* extension_info_map = io_data->GetExtensionInfoMap();
|
|
|
| // We want to see if there is an extension that hasn't been manually disabled
|
| @@ -1894,6 +1895,7 @@ ChromeContentBrowserClient::CheckDesktopNotificationPermission(
|
| if (!extension_info_map->AreNotificationsDisabled((*iter)->id()))
|
| return blink::WebNotificationPermissionAllowed;
|
| }
|
| +#endif
|
|
|
| // No enabled extensions exist, so check the normal host content settings.
|
| HostContentSettingsMap* host_content_settings_map =
|
|
|