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_PUBLIC_BROWSER_NOTIFICATION_REGISTRAR_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_NOTIFICATION_REGISTRAR_H_ |
6 #define CONTENT_PUBLIC_BROWSER_NOTIFICATION_REGISTRAR_H_ | 6 #define CONTENT_PUBLIC_BROWSER_NOTIFICATION_REGISTRAR_H_ |
7 #pragma once | |
8 | 7 |
9 #include <vector> | 8 #include <vector> |
10 | 9 |
11 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
12 #include "base/threading/non_thread_safe.h" | 11 #include "base/threading/non_thread_safe.h" |
13 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
14 | 13 |
15 namespace content { | 14 namespace content { |
16 | 15 |
17 class NotificationObserver; | 16 class NotificationObserver; |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 | 62 |
64 // Lists all notifications we're currently registered for. | 63 // Lists all notifications we're currently registered for. |
65 RecordVector registered_; | 64 RecordVector registered_; |
66 | 65 |
67 DISALLOW_COPY_AND_ASSIGN(NotificationRegistrar); | 66 DISALLOW_COPY_AND_ASSIGN(NotificationRegistrar); |
68 }; | 67 }; |
69 | 68 |
70 } // namespace content | 69 } // namespace content |
71 | 70 |
72 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_REGISTRAR_H_ | 71 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_REGISTRAR_H_ |
OLD | NEW |