| 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_API_MESSAGING_MESSAGE_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_MESSAGING_MESSAGE_SERVICE_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_MESSAGING_MESSAGE_SERVICE_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_MESSAGING_MESSAGE_SERVICE_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <set> | 10 #include <set> |
| 11 #include <string> | 11 #include <string> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
| 15 #include "base/macros.h" | 15 #include "base/macros.h" |
| 16 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
| 17 #include "base/values.h" | 17 #include "base/values.h" |
| 18 #include "chrome/browser/extensions/api/messaging/message_property_provider.h" | 18 #include "chrome/browser/extensions/api/messaging/message_property_provider.h" |
| 19 #include "extensions/browser/api/messaging/native_message_host.h" | 19 #include "extensions/browser/api/messaging/native_message_host.h" |
| 20 #include "extensions/browser/browser_context_keyed_api_factory.h" | 20 #include "extensions/browser/browser_context_keyed_api_factory.h" |
| 21 #include "extensions/common/api/messaging/message.h" | 21 #include "extensions/common/api/messaging/message.h" |
| 22 #include "extensions/common/extension_id.h" | 22 #include "extensions/common/extension_id.h" |
| 23 | 23 |
| 24 class GURL; | 24 class GURL; |
| 25 class Profile; | |
| 26 | 25 |
| 27 namespace content { | 26 namespace content { |
| 28 class BrowserContext; | 27 class BrowserContext; |
| 29 } | 28 } |
| 30 | 29 |
| 31 namespace extensions { | 30 namespace extensions { |
| 32 class Extension; | 31 class Extension; |
| 33 class ExtensionHost; | 32 class ExtensionHost; |
| 34 class LazyBackgroundTaskQueue; | 33 class LazyBackgroundTaskQueue; |
| 35 | 34 |
| (...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 316 LazyBackgroundTaskQueue* lazy_background_task_queue_; | 315 LazyBackgroundTaskQueue* lazy_background_task_queue_; |
| 317 | 316 |
| 318 base::WeakPtrFactory<MessageService> weak_factory_; | 317 base::WeakPtrFactory<MessageService> weak_factory_; |
| 319 | 318 |
| 320 DISALLOW_COPY_AND_ASSIGN(MessageService); | 319 DISALLOW_COPY_AND_ASSIGN(MessageService); |
| 321 }; | 320 }; |
| 322 | 321 |
| 323 } // namespace extensions | 322 } // namespace extensions |
| 324 | 323 |
| 325 #endif // CHROME_BROWSER_EXTENSIONS_API_MESSAGING_MESSAGE_SERVICE_H_ | 324 #endif // CHROME_BROWSER_EXTENSIONS_API_MESSAGING_MESSAGE_SERVICE_H_ |
| OLD | NEW |