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 CONTENT_BROWSER_NOTIFICATION_SERVICE_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_NOTIFICATION_SERVICE_IMPL_H_ |
6 #define CONTENT_BROWSER_NOTIFICATION_SERVICE_IMPL_H_ | 6 #define CONTENT_BROWSER_NOTIFICATION_SERVICE_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "base/observer_list.h" | 11 #include "base/observer_list.h" |
11 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
12 #include "content/public/browser/notification_service.h" | 13 #include "content/public/browser/notification_service.h" |
13 | 14 |
14 namespace content { | 15 namespace content { |
15 | 16 |
16 class NotificationObserver; | 17 class NotificationObserver; |
17 class NotificationRegistrar; | 18 class NotificationRegistrar; |
18 | 19 |
19 class CONTENT_EXPORT NotificationServiceImpl : public NotificationService { | 20 class CONTENT_EXPORT NotificationServiceImpl : public NotificationService { |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 // balanced. | 87 // balanced. |
87 NotificationObserverCount observer_counts_; | 88 NotificationObserverCount observer_counts_; |
88 #endif | 89 #endif |
89 | 90 |
90 DISALLOW_COPY_AND_ASSIGN(NotificationServiceImpl); | 91 DISALLOW_COPY_AND_ASSIGN(NotificationServiceImpl); |
91 }; | 92 }; |
92 | 93 |
93 } // namespace content | 94 } // namespace content |
94 | 95 |
95 #endif // CONTENT_BROWSER_NOTIFICATION_SERVICE_IMPL_H_ | 96 #endif // CONTENT_BROWSER_NOTIFICATION_SERVICE_IMPL_H_ |
OLD | NEW |