Chromium Code Reviews

Unified Diff: chrome/browser/notifications/desktop_notification_service.h

Issue 5398001: Allow default desktop content settings to be managed via policy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: chrome/browser/notifications/desktop_notification_service.h
diff --git a/chrome/browser/notifications/desktop_notification_service.h b/chrome/browser/notifications/desktop_notification_service.h
index a7a4ce2a7a6a78ba573febf14f85c5d5e98a756b..bb6691b4688ab1c544295d89f6d629c97c2a6aac 100644
--- a/chrome/browser/notifications/desktop_notification_service.h
+++ b/chrome/browser/notifications/desktop_notification_service.h
@@ -93,6 +93,7 @@ class DesktopNotificationService : public NotificationObserver {
// been allowed or denied yet.
ContentSetting GetDefaultContentSetting();
void SetDefaultContentSetting(ContentSetting setting);
+ bool IsDefaultContentSettingManaged() const;
// NOTE: This should only be called on the UI thread.
void ResetToDefaultContentSetting();

Powered by Google App Engine