OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_PREFS_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_PREFS_MANAGER_H_ |
6 #define CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_PREFS_MANAGER_H_ | 6 #define CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_PREFS_MANAGER_H_ |
7 #pragma once | |
8 | 7 |
9 #include "chrome/browser/notifications/balloon_collection.h" | 8 #include "chrome/browser/notifications/balloon_collection.h" |
10 | 9 |
11 class PrefService; | 10 class PrefService; |
12 | 11 |
13 // This interface is used to access and mutate the preferences related to | 12 // This interface is used to access and mutate the preferences related to |
14 // desktop notifications. | 13 // desktop notifications. |
15 class NotificationPrefsManager { | 14 class NotificationPrefsManager { |
16 public: | 15 public: |
17 virtual ~NotificationPrefsManager() {} | 16 virtual ~NotificationPrefsManager() {} |
(...skipping 11 matching lines...) Expand all Loading... |
29 BalloonCollection::PositionPreference preference) = 0; | 28 BalloonCollection::PositionPreference preference) = 0; |
30 | 29 |
31 protected: | 30 protected: |
32 NotificationPrefsManager() {} | 31 NotificationPrefsManager() {} |
33 | 32 |
34 private: | 33 private: |
35 DISALLOW_COPY_AND_ASSIGN(NotificationPrefsManager); | 34 DISALLOW_COPY_AND_ASSIGN(NotificationPrefsManager); |
36 }; | 35 }; |
37 | 36 |
38 #endif // CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_PREFS_MANAGER_H_ | 37 #endif // CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_PREFS_MANAGER_H_ |
OLD | NEW |