OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_PUBLIC_BROWSER_NOTIFICATION_SERVICE_IMPL_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_NOTIFICATION_SERVICE_IMPL_H_ |
6 #define CONTENT_PUBLIC_BROWSER_NOTIFICATION_SERVICE_IMPL_H_ | 6 #define CONTENT_PUBLIC_BROWSER_NOTIFICATION_SERVICE_IMPL_H_ |
7 #pragma once | |
8 | 7 |
9 #include <map> | 8 #include <map> |
10 | 9 |
11 #include "base/observer_list.h" | 10 #include "base/observer_list.h" |
12 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
13 #include "content/public/browser/notification_service.h" | 12 #include "content/public/browser/notification_service.h" |
14 | 13 |
15 namespace content { | 14 namespace content { |
16 class NotificationObserver; | 15 class NotificationObserver; |
17 class NotificationRegistrar; | 16 class NotificationRegistrar; |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 #ifndef NDEBUG | 83 #ifndef NDEBUG |
85 // Used to check to see that AddObserver and RemoveObserver calls are | 84 // Used to check to see that AddObserver and RemoveObserver calls are |
86 // balanced. | 85 // balanced. |
87 NotificationObserverCount observer_counts_; | 86 NotificationObserverCount observer_counts_; |
88 #endif | 87 #endif |
89 | 88 |
90 DISALLOW_COPY_AND_ASSIGN(NotificationServiceImpl); | 89 DISALLOW_COPY_AND_ASSIGN(NotificationServiceImpl); |
91 }; | 90 }; |
92 | 91 |
93 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_SERVICE_IMPL_H_ | 92 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_SERVICE_IMPL_H_ |
OLD | NEW |