| Index: chrome/browser/notifications/desktop_notification_service.cc
|
| diff --git a/chrome/browser/notifications/desktop_notification_service.cc b/chrome/browser/notifications/desktop_notification_service.cc
|
| index 8aa82d12ac68cb31c7673107abc5f3c8343cb8d2..f32a76b0a4bd829205e12bb8916a68048fbe3f51 100644
|
| --- a/chrome/browser/notifications/desktop_notification_service.cc
|
| +++ b/chrome/browser/notifications/desktop_notification_service.cc
|
| @@ -452,6 +452,11 @@ void DesktopNotificationService::SetDefaultContentSetting(
|
| // The cache is updated through the notification observer.
|
| }
|
|
|
| +bool DesktopNotificationService::IsDefaultContentSettingManaged() {
|
| + return profile_->GetPrefs()->IsManagedPreference(
|
| + prefs::kDesktopNotificationDefaultContentSetting);
|
| +}
|
| +
|
| void DesktopNotificationService::ResetToDefaultContentSetting() {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
|
|
|
|