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_EXTENSIONS_EXTENSION_MESSAGE_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_SERVICE_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_SERVICE_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_SERVICE_H_ |
7 #pragma once | |
8 | 7 |
9 #include <map> | 8 #include <map> |
10 #include <set> | 9 #include <set> |
11 #include <string> | 10 #include <string> |
12 | 11 |
13 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
14 #include "base/memory/linked_ptr.h" | 13 #include "base/memory/linked_ptr.h" |
15 #include "content/public/browser/notification_observer.h" | 14 #include "content/public/browser/notification_observer.h" |
16 #include "content/public/browser/notification_registrar.h" | 15 #include "content/public/browser/notification_registrar.h" |
17 | 16 |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 MessageChannelMap channels_; | 142 MessageChannelMap channels_; |
144 PendingChannelMap pending_channels_; | 143 PendingChannelMap pending_channels_; |
145 | 144 |
146 // Weak pointer. Guaranteed to outlive this class. | 145 // Weak pointer. Guaranteed to outlive this class. |
147 extensions::LazyBackgroundTaskQueue* lazy_background_task_queue_; | 146 extensions::LazyBackgroundTaskQueue* lazy_background_task_queue_; |
148 | 147 |
149 DISALLOW_COPY_AND_ASSIGN(ExtensionMessageService); | 148 DISALLOW_COPY_AND_ASSIGN(ExtensionMessageService); |
150 }; | 149 }; |
151 | 150 |
152 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_SERVICE_H_ | 151 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_SERVICE_H_ |
OLD | NEW |